unzip tmsminstallzipdownload_path=$PWDsudo installer -store -pkg $download_pathtmsminstalltmsminstallpkg -target
The given commands will unzip the file "tmsminstall.zip", set the download path to the current working directory, and then install the package "tmsminstall.pkg" using the sudo command.
Here are the commands:
unzip tmsminstall.zip
download_path=$PWD
sudo installer -store -pkg "${download_path}/tmsminstall/tmsminstall.pkg" -target /
Make sure you have the necessary permissions to run these commands.
原文地址: https://www.cveoy.top/t/topic/ieRB 著作权归作者所有。请勿转载和采集!