Skip to content
Permalink
Browse files

update

  • Loading branch information...
Admin9705 committed Dec 24, 2018
1 parent 00547cc commit 7f5684872a784ae6d417fe8e67a6ab5c39f5890a
Showing with 34 additions and 48 deletions.
  1. 0 {roles → }/.gitignore
  2. BIN install/.DS_Store
  3. +21 −0 menu/functions/install.sh
  4. +13 −0 menu/functions/start.sh
  5. +0 −48 pg.sh
File renamed without changes.
BIN -6 KB install/.DS_Store
Binary file not shown.
@@ -11,6 +11,11 @@ updateprime() {
abc="/var/plexguide"
mkdir -p ${abc}

file="${abc}/server.hd.path"
if [ ! -e "$file" ]; then echo "/mnt" > ${abc}/server.hd.path; fi

newinstall

ospgversion=$(cat /etc/*-release | grep Debian | grep 9)
if [ "$ospgversion" != "" ]; then echo "debian"> ${abc}/os.version;
else echo "ubuntu" > ${abc}/os.version; fi
@@ -137,6 +142,22 @@ motd () {
ansible-playbook /opt/plexguide/menu/motd/motd.yml
}

newinstall () {
rm -rf /var/plexguide/pg.exit 1>/dev/null 2>&1
file="${abc}/new.install"
if [ ! -e "$file" ]; then
touch ${abc}/pg.number && echo off > /tmp/program_source
bash /opt/plexguide/menu/interface/version/file.sh && touch ${abc}/new.install
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
↘️ Start AnyTime By Typing >>> plexguide
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EOF
exit; fi
}
pgedition () {
file="${abc}/path.check"
if [ ! -e "$file" ]; then touch ${abc}/path.check && bash /opt/plexguide/menu/dlpath/dlpath.sh; fi
@@ -0,0 +1,13 @@
#!/bin/bash
#
# Title: PlexGuide (Reference Title File)
# Author(s): Admin9705 - Deiteq
# URL: https://plexguide.com - http://github.plexguide.com
# GNU: General Public License v3.0
################################################################################
source /opt/plexguide/menu/functions/functions.sh
source /opt/plexguide/menu/functions/install.sh
######################################################## START: Key Variables
bash /opt/plexguide/install/declare.sh
######################################################## START: New Install
bash /opt/plexguide/install/reboot.sh
48 pg.sh

This file was deleted.

Oops, something went wrong.

0 comments on commit 7f56848

Please sign in to comment.
You can’t perform that action at this time.