mirror of
https://github.com/ThunixdotNet/tilde-launcher.git
synced 2026-03-26 05:10:19 +00:00
2
tilde
2
tilde
@@ -110,8 +110,10 @@ verify_script_name() {
|
||||
fi
|
||||
|
||||
if command -v "$1"; then
|
||||
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
|
||||
error_exit "$1 is already taken. rename your script and try again."
|
||||
|
||||
Reference in New Issue
Block a user