audacity repo added + moving remove useless flatpak in toolAutoremove (-p option)

This commit is contained in:
Francois B. (Makoto) 2020-05-24 20:16:08 +02:00
parent 918551fb5b
commit 45b7b3076e
5 changed files with 22 additions and 9 deletions

View file

@ -194,12 +194,6 @@ function updateSystem () {
sudo flatpak update -y &>> $logFile sudo flatpak update -y &>> $logFile
ret_code=$? ret_code=$?
retCode $ret_code retCode $ret_code
printf "[FLATPAK] uninstall --unused "
printf "\n[FLATPAK] uninstall --unused\n" &>> $logFile
sudo flatpak uninstall --unused -y &>> $logFile
ret_code=$?
retCode $ret_code
fi fi
repoAdded=0 repoAdded=0

View file

@ -525,7 +525,15 @@ flatpak;addRepo_flatpak
balena-etcher-electron;addRepo_Belena balena-etcher-electron;addRepo_Belena
font-manager;addRepo_FontManager font-manager;addRepo_FontManager
cawbird;addRepo_Cawbird cawbird;addRepo_Cawbird
ubuntu-make;addRepo_UbuntuMake" ubuntu-make;addRepo_UbuntuMake
audacity;addRepo_Audacity"
#
# Audacity
#
function addRepo_Audacity () {
addPPA ppa:ubuntuhandbook1/audacity
}
# #
# Ubuntu Make # Ubuntu Make

View file

@ -471,7 +471,8 @@ handbrake-cli;addRepo_Handbrake
handbrake;addRepo_Handbrake handbrake;addRepo_Handbrake
kodi;addRepo_Kodi kodi;addRepo_Kodi
avidemux;addRepo_Avidemux avidemux;addRepo_Avidemux
winehq-stable;addRepo_WineHQ" winehq-stable;addRepo_WineHQ
audacity;addRepo_Audacity"
#TODO : no focal support yet / or not needed yet #TODO : no focal support yet / or not needed yet
#woeusb;addRepo_Webupd8 #woeusb;addRepo_Webupd8
@ -491,6 +492,13 @@ winehq-stable;addRepo_WineHQ"
#ubuntu-make;addRepo_UbuntuMake #ubuntu-make;addRepo_UbuntuMake
#flatpak;addRepo_flatpak #flatpak;addRepo_flatpak
#
# Audacity
#
function addRepo_Audacity () {
addPPA ppa:ubuntuhandbook1/audacity
}
# #
# Ubuntu Make #TODO : no focal support yet # Ubuntu Make #TODO : no focal support yet
# #

View file

@ -106,7 +106,9 @@ function toolPacketLoss () {
# #
function toolAutoremove () { function toolAutoremove () {
runCmd "sudo apt-get -y autoremove" \ runCmd "sudo apt-get -y autoremove" \
"removing not necessary dependencies" "removing useless APT dependencies"
runCmd "sudo flatpak uninstall --unused -y" \
"removing useless FLATPAK dependencies"
} }
# #

View file

@ -248,6 +248,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,w,k,p" option; do
exit exit
;; ;;
p) p)
msg "Removing useless dependencies"
toolAutoremove toolAutoremove
exit exit
;; ;;