Viber added

This commit is contained in:
Francois B 2018-03-21 08:14:10 +01:00
parent 7acfc2a64c
commit 1153ead0da
2 changed files with 21 additions and 5 deletions

View file

@ -108,14 +108,25 @@ function installInternetMenu () {
installAppsFromListMenu internet installAppsFromListMenu internet
} }
#TODO: #
function installInternetExt () { # Viber (headless)
msg "Installing Internet apps and tools" #
function installViber () {
msg "Téléchargement de Viber"
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \ installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb viber.deb
}
#
# Viber (Menu)
#
function installViberMenu () {
msg "Install Viber"
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb
}
#TODO:
function installInternetExt () {
#TODO: archive no dir #TODO: archive no dir
msg "Téléchargement de Franz" msg "Téléchargement de Franz"
mkdir -p Franz mkdir -p Franz
@ -1388,6 +1399,7 @@ function showAppInstallMenu () {
"pidgin" "Pidgin plugins" \ "pidgin" "Pidgin plugins" \
"nitrogen" "Nitrogen WP Manager" \ "nitrogen" "Nitrogen WP Manager" \
"wine" "Wine Builds" \ "wine" "Wine Builds" \
"viber" "Viber IM desktop app" \
"Back" "Back" 3>&1 1>&2 2>&3) "Back" "Back" 3>&1 1>&2 2>&3)
case $appsInstallMenuOptions in case $appsInstallMenuOptions in
@ -1436,6 +1448,9 @@ function showAppInstallMenu () {
"wine") "wine")
installWineMenu installWineMenu
;; ;;
"viber")
installViberMenu
;;
"Back") "Back")
break break
;; ;;

View file

@ -67,6 +67,7 @@ while getopts ":h,v,f,c,t,u" option; do
installPidginPlugins installPidginPlugins
installRhythmBoxPlugins installRhythmBoxPlugins
installWine installWine
installViber
exit exit
;; ;;
c) # install themes and icons c) # install themes and icons