Skip to content

Commit

Permalink
Merge pull request #62 from Utappia/develop
Browse files Browse the repository at this point in the history
fix missing curl and check if package list exist
  • Loading branch information
cerebrux authored Jul 17, 2024
2 parents e445f34 + 2ff4041 commit 5fe95f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
License: GPL3 (http://www.gnu.org/licenses/gpl.html)
Author : Salih Emin
Email : salih-(a)-utappia.org
Date : 14-07-2024 (first release 19-02-2009)
Version: 24.07.14
Date : 17-07-2024 (first release 19-02-2009)
Version: 24.07.17
System : Ubuntu Linux and derivatives. With Deb, Snap or Flatpak. (Partial support for Debian and WSL2)
WebSite: http://utappia.org

Expand Down
2 changes: 1 addition & 1 deletion assets/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, pkexec
Depends: apt, deborphan, lsb-release, pkexec, curl
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
9 changes: 7 additions & 2 deletions ucaresystem-core
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set -e
#Variables
DIST_CODENAME=$(lsb_release --codename | cut -f2)
DATE=(date +%F_%T)
UCARE_VERSION=(24.07.14)
UCARE_VERSION=(24.07.17)
USERNAME=$(logname 2>/dev/null)
# Checking if the user has run the script with "sudo" or not
if [[ $EUID -ne 0 ]] ; then
Expand Down Expand Up @@ -287,7 +287,12 @@ function MAINTENANCE {
echo "* packages: *"
echo "* * * * * * * * * * * * * * * * * *"
echo
cat /var/run/reboot-required.pkgs
if [ -f /var/run/reboot-required.pkgs ]; then
cat /var/run/reboot-required.pkgs
else
echo "Cannot find the list of packages... Skipping"
fi
sleep 1
else
echo
echo "No reboot is required at this time"
Expand Down

0 comments on commit 5fe95f5

Please sign in to comment.