From 81da847d02b9ff4561833d015917b88b3146eec5 Mon Sep 17 00:00:00 2001 From: "Francois B. (Makoto)" Date: Fri, 12 Jun 2020 16:55:02 +0200 Subject: [PATCH] remove snapd install restriction for Mint20 --- repo_functions_ub2004.sh | 13 ++++++++++++- vars.sh | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/repo_functions_ub2004.sh b/repo_functions_ub2004.sh index a9e0b93..52c12f5 100644 --- a/repo_functions_ub2004.sh +++ b/repo_functions_ub2004.sh @@ -967,7 +967,18 @@ function addRepo_AndroidStudio () { # AppsPreTrtFct="opera-stable;opera_PreTrtFct steam;steam_PreTrtFct -wireshark;wireshark_PreTrtFct" +wireshark;wireshark_PreTrtFct +snapd;snapd_PreTrtFct" + +# +# Snap +# +function snapd_PreTrtFct () { + if isMint20; then + runCmd "sudo rm /etc/apt/preferences.d/nosnap.pref" \ + "remove snapd installation restriction [ I'm allergic to it, but need it for some pieces of software... Devs, please provide deb package ;) ]" + fi +} # # Opera diff --git a/vars.sh b/vars.sh index acb85c2..b42d64f 100644 --- a/vars.sh +++ b/vars.sh @@ -13,7 +13,7 @@ # # app version number # -version="0.6.0-b5" +version="0.6.0-b6" # # myHomedir is used in full paths to the homedir