mirror of
https://github.com/tildeclub/launcher.git
synced 2026-10-25 08:25:38 +00:00
Fix shift command and update case statement
This commit is contained in:
1 parent
5acab0fa24
commit
2afad63802
1 file changed
+1
-1
@@ -285,7 +285,7 @@ case $1 in
|
|||||||
|
|
||||||
if [ -x "/tilde/bin/$2" ]; then
|
if [ -x "/tilde/bin/$2" ]; then
|
||||||
prog="/tilde/bin/$2"
|
prog="/tilde/bin/$2"
|
||||||
shift
|
shift 2 # Shift twice to remove both 'run' and 'tcoin'
|
||||||
exec "$prog" "$@"
|
exec "$prog" "$@"
|
||||||
else
|
else
|
||||||
printf "%s not found or not approved yet. Use '%s list' to see available user scripts.\n" "$2" "$PROGNAME"
|
printf "%s not found or not approved yet. Use '%s list' to see available user scripts.\n" "$2" "$PROGNAME"
|
||||||
|
|||||||
Reference in new issue
Block a user