Add all is well app
parent
803a7d3cc1
commit
2a5160e197
@ -0,0 +1 @@
|
|||||||
|
ALL IS WELL is a bash script that allows users to easily update and upgrade their repositories and packages on linux. It will also fix any broken packages and dependencies. Forget about typing all update/upgrade commands manually, when ALL IS WELL!
|
Binary file not shown.
After Width: | Height: | Size: 904 B |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo -e "\\e[91m$1\\e[39m"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
mkdir AIW
|
||||||
|
cd ~/AIW || error "Failed to enter directory!"
|
||||||
|
wget 'https://raw.githubusercontent.com/spectrumgamer75/Bash-Scripts/master/ALL%20IS%20WELL%20(V2.0)/aiwrpi.sh' || error "Failed to download!"
|
||||||
|
chmod +x 'aiwrpi.sh'
|
||||||
|
echo "[Desktop Entry]
|
||||||
|
Name=All Is Well
|
||||||
|
GenericName=Update Helper and Fixer
|
||||||
|
Comment= ALL IS WELL is a bash script that allows users to easily update and upgrade their repositories and packages on linux. It will also fix any broken packages and dependencies.
|
||||||
|
Exec=$HOME/AIW/aiwrpi.sh
|
||||||
|
Icon=$HOME/pi-apps/apps/All Is Well/icon-24.png
|
||||||
|
Terminal=true
|
||||||
|
StartupNotify=true
|
||||||
|
Type=Application
|
||||||
|
Categories=Utility;" > ~/.local/share/applications/aiw.desktop || error "Failed to create menu button!"
|
@ -0,0 +1,5 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# This is the uninstall script for the All Is Well script
|
||||||
|
rm ~/.local/share/applications/aiw.desktop
|
||||||
|
rm -r ~/AIW
|
||||||
|
exit 0
|
@ -0,0 +1 @@
|
|||||||
|
www.github.com/spectrumgamer75
|
Loading…
Reference in New Issue