[F] Verschiedene Syntaxverbesserungen

This commit is contained in:
Simon Rieger 2022-10-04 19:33:32 +02:00
parent 073657a5ad
commit 335c281441

View file

@ -14,12 +14,13 @@ RCLOCALSHUTDOWN='/etc/rc.local.shutdown'
SYSCTL='/etc/sysctl.conf' SYSCTL='/etc/sysctl.conf'
SUDOERS="/etc/sudoers" SUDOERS="/etc/sudoers"
autostartdesktop=sway autostartdesktop=sway
repo=deadc0de-remix-os repo=spectreos
repo1=shell-scripte-code repo1=shell-scripte-code
hostname=deadc0de-remix-os hostname=spectreos
user=user1 user=user1
userpass=user1 userpass=user1
arch=$(uname -m) arch=$(uname -m)
branch=master
offline=false offline=false
# Lese die Umgebungsvariablen neu # Lese die Umgebungsvariablen neu
@ -71,13 +72,13 @@ function gitclone() {
if [ -d "/opt/${repo}" ]; then if [ -d "/opt/${repo}" ]; then
echo "${repo} existiert bereits!!!" echo "${repo} existiert bereits!!!"
cd /opt/${repo} cd /opt/${repo}
git checkout ${arch} git checkout ${branch}
if ! git remote set-url origin ${WEBADDRESS_OS}; then if ! git remote set-url origin ${WEBADDRESS_OS}; then
git remote add origin ${WEBADDRESS_OS} git remote add origin ${WEBADDRESS_OS}
fi fi
git pull git pull
else else
git clone -b ${arch} ${WEBADDRESS_OS} /opt/${repo} git clone -b ${branch} ${WEBADDRESS_OS} /opt/${repo}
fi fi
if [ -d "/opt/${repo1}" ]; then if [ -d "/opt/${repo1}" ]; then
echo "${repo1} existiert bereits!!!" echo "${repo1} existiert bereits!!!"
@ -670,7 +671,7 @@ fi
aurinstaller ntfysh-bin aurinstaller ntfysh-bin
#aurinstaller spotify #aurinstaller spotify
#aurinstaller https://github.com/MultiMC/multimc-pkgbuild #aurinstaller https://github.com/MultiMC/multimc-pkgbuild
#aurinstaller polymc-bin aurinstaller polymc-bin
aurinstaller beautysh aurinstaller beautysh
#aurinstaller jetbrains-toolbox #aurinstaller jetbrains-toolbox
aurinstaller wdisplays aurinstaller wdisplays