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