From 056a931219cc7aa11fc4f1173a0e752a61022360 Mon Sep 17 00:00:00 2001 From: Salih Emin Date: Fri, 10 Nov 2017 16:17:29 +0200 Subject: [PATCH] fix posinst apt update position --- README.md | 2 +- debian-packaging/postinst | 13 +++++++++---- ucaresystem-core | 6 +++--- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 01080c3..753863c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Author : Salih Emin Email : salihemin (at) about.me Date : 10-11-2017 - Version: 4.2.2 + Version: 4.2.3 System : Ubuntu or Debian derivatives (Not tested every flavor) WebSite: http://utappia.org diff --git a/debian-packaging/postinst b/debian-packaging/postinst index d8ea3a6..d2a0736 100755 --- a/debian-packaging/postinst +++ b/debian-packaging/postinst @@ -24,12 +24,17 @@ deb http://ppa.launchpad.net/utappia/stable/ubuntu xenial main deb-src http://ppa.launchpad.net/utappia/stable/ubuntu xenial main EOT + echo "" + echo "Refreshing package list..." + echo "" + apt update else + echo "" echo "Adding Utappia repository" add-apt-repository -y ppa:utappia/stable + echo "" + echo "Refreshing package list..." + echo "" + apt update fi fi -echo "" -echo "" -echo "Refreshing package list..." -apt update diff --git a/ucaresystem-core b/ucaresystem-core index 493bca7..52d7870 100755 --- a/ucaresystem-core +++ b/ucaresystem-core @@ -10,8 +10,8 @@ set -e # Author : Salih Emin # WebSite: http://utappia.org # Email : salihemin-(at)-about.me -# Date : 6-11-2017 (first release 19-02-2009) -# Version: 4.2.1 +# Date : 10-11-2017 (first release 19-02-2009) +# Version: 4.2.3 # System : Debian Linux and Ubuntu Linux # Description: #This simple script will automatically refresh your package list, download and install @@ -23,7 +23,7 @@ set -e #Variables DIST_CODENAME=$(lsb_release --codename | cut -f2) DATE=(date +%F_%T) -UCARE_VERSION=(4.2.1) +UCARE_VERSION=(4.2.3) # Checking if the user has run the script with "sudo" or not if [[ $EUID -ne 0 ]] ; then