Remove qbt wrapper

This commit is contained in:
thespad 2024-05-25 21:25:54 +01:00
parent 5dabf23090
commit 77c3446685
No known key found for this signature in database
GPG key ID: 08F06191F4587860
2 changed files with 1 additions and 15 deletions

View file

@ -1,14 +0,0 @@
#!/usr/bin/with-contenv bash
# qbt bash wrapper to prompt user when trying to save password
if [[ "$@" == "settings set password" ]]; then
echo "Setting password is not supported"
echo "Please use --ask-for-password or --password"
elif [[ "$@" == "settings set"* ]]; then
/qbt/qbt "$@"
elif [[ "$@" != *"--ask-for-password"* ]] && [[ "$@" != *"--password"* ]];then
echo "Please use --ask-for-password or --password and ensure username/url are set"
/qbt/qbt "$@"
else
/qbt/qbt "$@"
fi