annotate host/macos/removeStartupScripts.sh @ 1648:224af797b1f9

Mainly small install script improvements - Consistent usage of `$LUANHOME`, removed reliance on current directory. - Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed. - Minor spelling mistake fix.
author Fox
date Mon, 28 Mar 2022 18:00:12 +0200
parents fd3d56f39450
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1631
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
1 #!/bin/bash
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
2
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
3 . startupScripts.sh;
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
4
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
5 cd $localStartup;
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
6
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
7 for file in *.plist; do
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
8 sudo rm ${systemStarup}/${file};
1633
665049cffc02 fix path
fffilimonov
parents: 1632
diff changeset
9 sudo rm $file;
1631
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
10 done;