summaryrefslogtreecommitdiff
path: root/data/perform-system-update
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-04-04 14:18:12 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-04-26 17:06:08 +0600
commit13be532351fdc16c000ec0ee7d13d323835995e7 (patch)
tree9ca723fbfad1bda20b5604399078e14ab4fe0546 /data/perform-system-update
parent5083ae34d95fdafc0ca37d94f448e71d75792115 (diff)
downloadshopno-os-apt-notifier-13be532351fdc16c000ec0ee7d13d323835995e7.tar.gz
shopno-os-apt-notifier-13be532351fdc16c000ec0ee7d13d323835995e7.zip
Fix broken packages before install
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to 'data/perform-system-update')
-rwxr-xr-xdata/perform-system-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/perform-system-update b/data/perform-system-update
index bb7f252..bdc2eb4 100755
--- a/data/perform-system-update
+++ b/data/perform-system-update
@@ -7,7 +7,7 @@ if [[ $1 == "check" ]]; then
fi
else
echo -e "$(tput setaf 3)Please wait while the system in upgrading...$(tput sgr0)"
-
+ sudo apt --fix-broken install -y
sudo apt autoremove -y
sudo apt upgrade -y
echo -e "$(tput setaf 2)Done! You can now close this window $(tput sgr0)"