Skip to content
Snippets Groups Projects
Commit 0f185e0c authored by Aleksandr Vodianov's avatar Aleksandr Vodianov
Browse files

fixed mistakes

parent 72fe107e
No related branches found
No related tags found
2 merge requests!20Hotfix 5179,!19Hotfix 5181
......@@ -26,7 +26,7 @@ done
wd=$(pwd)
cd $EXEC_PREFIX/../MacOS
for filename in $(ls . | grep -v '.');
for filename in $(ls . | grep -v '.'); do
if [ -L $filename ] && [ ! -e $filename ]; then
strip -u -r $filename
fi
......@@ -53,11 +53,11 @@ sudo chmod 644 /Applications/"$APP_NAME".app/Contents/Resources/$NODE.plist
sudo ln -sf /Applications/"$APP_NAME".app/Contents/Resources/$SERVICE.plist /Users/$USER/Library/LaunchAgents/$SERVICE.plist
sudo ln -sf /Applications/"$APP_NAME".app/Contents/Resources/$NODE.plist /Users/$USER/Library/LaunchAgents/$NODE.plist
launchctl load -w /Users/$USER/Library/LaunchAgents/$NODE.plist
launchctl load -w /Users/$USER/Library/LaunchAgents/$SERVICE.plist
sudo -u $USER launchctl load -w /Users/$USER/Library/LaunchAgents/$NODE.plist
sudo -u $USER launchctl load -w /Users/$USER/Library/LaunchAgents/$SERVICE.plist
launchctl start $NODE
launchctl start $SERVICE
sudo -u $USER launchctl start $NODE
sudo -u $USER launchctl start $SERVICE
sudo rm $EXEC_PREFIX/*.sh
sudo rm /Applications/$APP_NAME.plist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment