Update references to new git location
This commit is contained in:
@@ -60,8 +60,8 @@ unset dist_ver dist APTMODE
|
||||
|
||||
|
||||
#Repo Vars
|
||||
repo=https://git.ictmaatwerk.com/VPS-scripts/MySQL
|
||||
branch=master
|
||||
repo=https://git.bprieshof.nl/Work_Archive/VPS-scripts_MySQL
|
||||
mbranch=main
|
||||
|
||||
###Select Module type
|
||||
mtype=""$repo"/raw/branch/"$branch""
|
||||
@@ -88,7 +88,7 @@ fi
|
||||
|
||||
msg "Starting installer." 8 78
|
||||
$PKGI curl > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.bprieshof.nl/Work/PKGRepoSetup/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash > $OUTPUT 2>&1
|
||||
|
||||
|
||||
##-------------------------##
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#MySQL GIT repo Settings
|
||||
mrepo=https://git.ictmaatwerk.com/VPS-scripts/MySQL
|
||||
mbranch=master
|
||||
mrepo=https://git.bprieshof.nl/Work_Archive/VPS-scripts_MySQL
|
||||
mbranch=main
|
||||
|
||||
#Removing old version
|
||||
rm -rf /usr/share/phpmyadmin/*
|
||||
|
||||
#Installing new verion
|
||||
curl --retry 7 --retry-delay 5 -s http://mirror.nxdi.nl/resources/phpmyadmin/phpMyAdmin-latest-english.tar.gz -o /tmp/phpmya.tar.gz
|
||||
curl --retry 7 --retry-delay 5 -s https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-english.tar.gz -o /tmp/phpmya.tar.gz
|
||||
tar -C /usr/share/phpmyadmin -xzf /tmp/phpmya.tar.gz --strip 1
|
||||
|
||||
#Installing custom vendor config
|
||||
|
||||
6
conf.sh
6
conf.sh
@@ -1,6 +1,6 @@
|
||||
###Fetch Config
|
||||
mrepo=https://git.ictmaatwerk.com/VPS-scripts/MySQL
|
||||
mbranch=master
|
||||
mrepo=https://git.bprieshof.nl/Work_Archive/VPS-scripts_MySQL
|
||||
mbranch=main
|
||||
|
||||
if [ -z ${password+x} ]; then echo 'Error $password is not set' > $OUTPUT 2>&1 ; fi
|
||||
if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting default OFF' > $OUTPUT 2>&1 && PHPMyadmin=0;fi #check if Var is set
|
||||
@@ -31,7 +31,7 @@ if [ $PHPMyadmin = 1 ]; then
|
||||
mkdir -p /etc/phpmyadmin
|
||||
mkdir -p /var/log/PhpMyAdmin
|
||||
mkdir -p /var/lib/phpmyadmin/tmp/
|
||||
curl --retry 7 --retry-delay 5 -s http://mirror.nxdi.nl/resources/phpmyadmin/phpMyAdmin-latest-english.tar.gz -o /tmp/phpmya.tar.gz
|
||||
curl --retry 7 --retry-delay 5 -s https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-english.tar.gz -o /tmp/phpmya.tar.gz
|
||||
tar -C /usr/share/phpmyadmin -xzf /tmp/phpmya.tar.gz --strip 1
|
||||
|
||||
|
||||
|
||||
@@ -60,8 +60,8 @@ unset dist_ver dist APTMODE
|
||||
|
||||
|
||||
#Repo Vars
|
||||
mrepo=https://git.ictmaatwerk.com/VPS-scripts/MySQL
|
||||
mbranch=master
|
||||
mrepo=https://git.bprieshof.nl/Work_Archive/VPS-scripts_MySQL
|
||||
mbranch=main
|
||||
|
||||
###Select Module type
|
||||
mtype=""$mrepo"/raw/branch/"$mbranch""
|
||||
@@ -86,7 +86,7 @@ echo "$1"
|
||||
|
||||
msg "Starting installer." 8 78
|
||||
$PKGI curl > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.bprieshof.nl/Work/PKGRepoSetup/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash > $OUTPUT 2>&1
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
mrepo=https://git.ictmaatwerk.com/VPS-scripts/MySQL
|
||||
mbranch=master
|
||||
mrepo=https://git.bprieshof.nl/Work_Archive/VPS-scripts_MySQL
|
||||
mbranch=main
|
||||
if [ -z ${password+x} ]; then echo 'Error $password is not set'; fi
|
||||
|
||||
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] || [ "$shortdist" = "deb11" ] ; then
|
||||
@@ -13,7 +13,7 @@ if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist
|
||||
if [ -z ${CurDebFrond+x} ]; then unset DEBIAN_FRONTEND ; else export DEBIAN_FRONTEND=$CurDebFrond; fi #Restore DEBIAN_FRONTEND
|
||||
fi
|
||||
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=mysql osrel=$shortdist bash
|
||||
curl --retry 7 --retry-delay 5 -s https://git.bprieshof.nl/Work/PKGRepoSetup/raw/branch/Main/Setup-Repo.sh |repo=mysql osrel=$shortdist bash
|
||||
|
||||
unset mrepo
|
||||
unset mbranch
|
||||
Reference in New Issue
Block a user