mirror of
https://github.com/ThunixdotNet/tilde-launcher.git
synced 2026-01-24 05:10:18 +00:00
4
tilde
4
tilde
@@ -110,7 +110,9 @@ verify_script_name() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v "$1"; then
|
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
|
fi
|
||||||
|
|
||||||
if [ -x "/tilde/bin/$1" ]; then
|
if [ -x "/tilde/bin/$1" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user