mas/script/package_install

20 lines
296 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 \
2021-04-29 05:28:29 +00:00
-pkg .build/mas.pkg \
2021-03-21 23:50:09 +00:00
-target /
2018-10-16 21:54:22 +00:00
2018-10-16 23:47:29 +00:00
pkgutil --pkg-info "$IDENTIFIER"
pkgutil --files "$IDENTIFIER"