From 1153ead0da0fe5478b1c18b3ed91828c30a8ca8f Mon Sep 17 00:00:00 2001 From: Francois B Date: Wed, 21 Mar 2018 08:14:10 +0100 Subject: [PATCH] Viber added --- install_functions.sh | 25 ++++++++++++++++++++----- yggdrasil.sh | 1 + 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/install_functions.sh b/install_functions.sh index b040a5b..f1d8d64 100644 --- a/install_functions.sh +++ b/install_functions.sh @@ -108,14 +108,25 @@ function installInternetMenu () { installAppsFromListMenu internet } -#TODO: -function installInternetExt () { - msg "Installing Internet apps and tools" - - msg "Téléchargement de Viber" +# +# Viber (headless) +# +function installViber () { installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/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 msg "Téléchargement de Franz" mkdir -p Franz @@ -1388,6 +1399,7 @@ function showAppInstallMenu () { "pidgin" "Pidgin plugins" \ "nitrogen" "Nitrogen WP Manager" \ "wine" "Wine Builds" \ + "viber" "Viber IM desktop app" \ "Back" "Back" 3>&1 1>&2 2>&3) case $appsInstallMenuOptions in @@ -1436,6 +1448,9 @@ function showAppInstallMenu () { "wine") installWineMenu ;; + "viber") + installViberMenu + ;; "Back") break ;; diff --git a/yggdrasil.sh b/yggdrasil.sh index d3ac6b9..04f0a70 100755 --- a/yggdrasil.sh +++ b/yggdrasil.sh @@ -67,6 +67,7 @@ while getopts ":h,v,f,c,t,u" option; do installPidginPlugins installRhythmBoxPlugins installWine + installViber exit ;; c) # install themes and icons