mas/script/package_install

20 lines
299 B
Text
Raw Normal View History

2019-01-03 23:30:33 +00:00
#!/bin/bash -e
#
# script/package_install
# mas
#
# Installs the mas distribution package. Requires sudo access.
#
2018-10-16 21:54:22 +00:00
2018-10-16 23:47:29 +00:00
IDENTIFIER=com.mphys.mas-cli
2018-10-16 21:54:22 +00:00
echo "==> 📲 Installing mas"
sudo installer \
-pkg build/mas.pkg \
-target /
2018-10-16 23:47:29 +00:00
pkgutil --pkg-info "$IDENTIFIER"
pkgutil --files "$IDENTIFIER"