Add PiGro app
parent
a1f0fb8ac6
commit
a003e24d2d
@ -0,0 +1 @@
|
||||
PiGro is a program designed to make all Debian-based distributions easier to use on the Pi. The most common terminal commands can be executed with one click.
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
@ -0,0 +1,30 @@
|
||||
#!/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
|
||||
}
|
||||
|
||||
git clone https://github.com/actionschnitzel/PiGro-Aid- || error "Failed to clone repository!"
|
||||
|
||||
# Get dependencies
|
||||
"${DIRECTORY}/pkg-install" "neofetch" "$(dirname "$0")" || exit 1
|
||||
|
||||
cd PiGro-Aid- || error "Failed to enter directory!"
|
||||
|
||||
chmod +x install.sh
|
||||
chmod +x start.sh
|
||||
chmod +x scripts/raspiconfiginstall.sh
|
||||
chmod +x scripts/autoremove.sh
|
||||
chmod +x scripts/addunsignedrepo.sh
|
||||
chmod +x scripts/update.sh
|
||||
chmod +x scripts/upgrade.sh
|
||||
chmod +x scripts/lxappearance.sh
|
||||
chmod +x scripts/rmlxde.sh
|
||||
chmod +x scripts/terminal.sh
|
||||
chmod +x scripts/xfce4fix.sh
|
||||
chmod +x scripts/uninstall.sh
|
||||
cp pigro.desktop ~/Desktop
|
||||
cp pigro.desktop ~/.local/share/applications/
|
@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
}
|
||||
|
||||
#if your app installs any packages, keep this command here so those packages will be removed.
|
||||
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
|
||||
|
||||
rm -rf ~/PiGro-Aid-
|
||||
|
||||
rm ~/Desktop/pigro.desktop /usr/share/applications/pigro.desktop
|
@ -0,0 +1 @@
|
||||
https://github.com/actionschnitzel/PiGro-Aid-
|
Loading…
Reference in New Issue