mirror of
https://github.com/ThunixdotNet/tilde-launcher.git
synced 2026-11-04 19:55:38 +00:00
1 parent
61f6f2ccd2
commit
fa8fa53e48
1 file changed
+3
-1
@@ -110,7 +110,9 @@ verify_script_name() {
|
||||
fi
|
||||
|
||||
if command -v "$1"; then
|
||||
error_exit "$1 already exists. rename your script and try again."
|
||||
if [ "$(command -v "$1")" != "/home/$user/bin/$1" ]; then
|
||||
error_exit "$1 already exists. rename your script and try again."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -x "/tilde/bin/$1" ]; then
|
||||
|
||||
Reference in new issue
Block a user