Skip to content

Commit

Permalink
11
Browse files Browse the repository at this point in the history
11
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Aug 10, 2019
1 parent 3798ded commit ff12bed
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions menu/functions/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ updateprime() {
file="${abc}/new.install"
if [ ! -e "$file" ]; then newinstall; fi

ospgversion=$(cat /etc/*-release | grep Debian | grep 9)
if [ "$ospgversion" != "" ]; then
ospgdistro=$(lsb_release -is)
ospgrelease=$(lsb_release -rs)
if [ "$ospgdistro" = "debian" ] && [ "$ospgrelease" = "9" ] || [ "$ospgrelease" = "10" ]; then
echo "debian" >${abc}/os.version
else echo "ubuntu" >${abc}/os.version; fi

Expand Down Expand Up @@ -166,7 +167,7 @@ emergency() {
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⛔️ Emergency & Warning Log Generator | Visit - http://emlog.pgblitz.com
⛔️ Emergency & Warning Log Generator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTE: This can be turned [On] or Off in Settings!
Expand Down Expand Up @@ -218,6 +219,7 @@ mergerinstall() {
ub16check=$(cat /etc/*-release | grep xenial)
ub18check=$(cat /etc/*-release | grep bionic)
deb9check=$(cat /etc/*-release | grep stretch)
deb10check=$(cat /etc/*-release | grep buster)
activated=false

apt --fix-broken install -y
Expand All @@ -238,6 +240,11 @@ mergerinstall() {
activated=true
echo "deb9" >/var/plexguide/mergerfs.version
wget "https://github.com/trapexit/mergerfs/releases/download/2.28.1/mergerfs_2.28.1.debian-stretch_amd64.deb"

elif [ "$deb10check" != "" ]; then
activated=true
echo "deb10" >/var/plexguide/mergerfs.version
wget "https://github.com/trapexit/mergerfs/releases/download/2.28.1/mergerfs_2.28.1.debian-buster_amd64.deb"

elif [ "$activated" != "true" ]; then
activated=true && echo "ub18 - but didn't detect correctly" >/var/plexguide/mergerfs.version
Expand Down Expand Up @@ -296,10 +303,10 @@ localspace() {
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
↘️ PG User Interface (PGUI) Installed / Updated
↘️ User Interface Installed / Updated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFORMATION: PGUI is a simple interface that provides information,
INFORMATION: UI is a simple interface that provides information,
warnings, and stats that will assist both yourself and tech support!
To turn this off, goto settings and turn off/on the PG User Interface!
Expand Down Expand Up @@ -495,7 +502,7 @@ watchtower() {
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📂 PG WatchTower Edition 📓 Reference: watchtower.pgblitz.com
📂 WatchTower Edition
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 WatchTower updates your containers soon as possible!
Expand Down

0 comments on commit ff12bed

Please sign in to comment.