From 2dbb29fc8587f5d5418fe77fad2f8e1ea8a12f58 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Mon, 19 Dec 2022 04:54:56 +0100 Subject: [PATCH] Do not ask whether firefox is installed as a snap. (#8756) --- utils/keepassxc-snap-helper.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/utils/keepassxc-snap-helper.sh b/utils/keepassxc-snap-helper.sh index e4af458fa..300b3909a 100755 --- a/utils/keepassxc-snap-helper.sh +++ b/utils/keepassxc-snap-helper.sh @@ -59,17 +59,7 @@ JSON_CHROME=$(cat << EOF EOF ) -askBrowserSnap() { - if (whiptail --title "Snap Choice" --defaultno \ - --yesno "Is this browser installed as a snap (usually NO)?" 8 60); then - # BASE_DIR="$1" - whiptail --title "Snap Choice" --msgbox "Sorry, browsers installed as snaps are not supported at this time" 8 50 - exit 0 - fi -} - setupFirefox() { - askBrowserSnap "./snap/firefox/common" JSON_OUT=${JSON_FIREFOX} INSTALL_DIR="${BASE_DIR}/.mozilla/native-messaging-hosts" } @@ -80,7 +70,6 @@ setupChrome() { } setupChromium() { - askBrowserSnap "./snap/chromium/current" JSON_OUT=${JSON_CHROME} INSTALL_DIR="${BASE_DIR}/.config/chromium/NativeMessagingHosts" }