Skip to content

Commit

Permalink
Merge branch 'release/4.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebrux committed Jan 25, 2018
2 parents bcc384c + 3c56fbf commit 2d7ead7
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
License: GPL3 (http://www.gnu.org/licenses/gpl.html)
Author : Salih Emin
Email : salihemin (at) about.me
Date : 15-11-2017
Version: 4.3.0
Date : 25-01-2018
Version: 4.4.0
System : Ubuntu or Debian derivatives (Not tested every flavor)
WebSite: http://utappia.org

Expand Down Expand Up @@ -56,5 +56,5 @@ If your Ubuntu (and official flavors) has reached the EOL support you can upgrad

For information about the availabe parameters, start ucaresystem-core with '-h' parameter :

sudo ucaresystem-core -h
sudo ucaresystem-core -h

3 changes: 1 addition & 2 deletions assets/launch-ucaresystemcore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
# Copyright (c) 2017 Salih Emin. All rights reserved.
# Use of this source code is governed by GPLv3 license that can be
# found in the LICENSE file.

gksu -m 'uCareSystem : Authentication Required' "uxterm -title 'uCareSystem Core' -hold -e ucaresystem-core"
uxterm -title 'uCareSystem Core' -hold -e ucaresystem-core
6 changes: 3 additions & 3 deletions debian-packaging/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ucaresystem-core (4.3.0) trusty; urgency=high
ucaresystem-core (4.4.0) trusty; urgency=high

* Added desktop icon and entry. User can launch ucaresystem form application menu
* Added pkexec, check if reboot is required, fixed Debian Jessie issue

-- Salih Emin <[email protected]> Wed, 15 Nov 2017 14:45:44 +0200
-- Salih Emin <[email protected]> Wed, 25 Jan 2018 14:45:44 +0200
2 changes: 1 addition & 1 deletion debian-packaging/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Vcs-Browser: https://github.com/Utappia/uCareSystem.git

Package: ucaresystem-core
Architecture: all
Depends: apt, deborphan, lsb-release, xterm, gksu
Depends: apt, deborphan, lsb-release, xterm
Description: All-in-one System Update and maintenance app
This simple script will automatically refresh your packagelist,
download and install software updates (if there are any), remove old
Expand Down
34 changes: 27 additions & 7 deletions ucaresystem-core
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/pkexec /bin/bash
set -e
#
#
Expand All @@ -9,9 +9,9 @@ set -e
# Licence: GPL3 (http://www.gnu.org/licenses/gpl.html)
# Author : Salih Emin
# WebSite: http://utappia.org
# Email : salihemin-(at)-about.me
# Date : 15-11-2017 (first release 19-02-2009)
# Version: 4.3.0
# Email : salih-(at)-utappia.org
# Date : 25-01-2018 (first release 19-02-2009)
# Version: 4.4.0
# System : Debian Linux and Ubuntu Linux
# Description:
#This simple script will automatically refresh your package list, download and install
Expand All @@ -23,7 +23,7 @@ set -e
#Variables
DIST_CODENAME=$(lsb_release --codename | cut -f2)
DATE=(date +%F_%T)
UCARE_VERSION=(4.3.0)
UCARE_VERSION=(4.4.0)

# Checking if the user has run the script with "sudo" or not
if [[ $EUID -ne 0 ]] ; then
Expand Down Expand Up @@ -90,8 +90,8 @@ function MAINTENACE {
echo

## Removes unneeded packages
sudo apt autoremove -y; # Debian Jessie shows no love for --purge. So
echo # for the time being I am removing it
sudo apt-get -y --purge autoremove; # Debian Jessie uses old apt. So
echo # for the time being I use old implementation
echo "###################################"
echo "Finished removing unneeded packages"
echo "###################################"
Expand Down Expand Up @@ -158,6 +158,26 @@ function MAINTENACE {
echo " Cleaned downloaded temporary packages"
echo "######################################"
echo
sleep 1

echo
echo "#########################################"
echo " Checking to see if a reboot is required "
echo "#########################################"
echo
## Check to see if a reboot is required
if [ -f /var/run/reboot-required ]; then
echo
echo "* * * * * * * * * * * * * * * * * *"
echo "* *"
echo "* Consider rebooting your system *"
echo "* to finish applying updates *"
echo "* *"
echo "* * * * * * * * * * * * * * * * * *"
echo
fi


}

function UPGRADE_EOL_TO_NEXT {
Expand Down

0 comments on commit 2d7ead7

Please sign in to comment.