Mute output of pushd
and popd
commands
This commit is contained in:
parent
c7b345c034
commit
b2d7433487
19 changed files with 43 additions and 43 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
# Set Hostname
|
# Set Hostname
|
||||||
sudo hostnamectl set-hostname ManuSurface;
|
sudo hostnamectl set-hostname ManuSurface;
|
||||||
|
|
||||||
|
@ -13,4 +13,4 @@ source "../../scripts/Config/UserProfile/school.sh";
|
||||||
source "../../scripts/Config/EasyEffects/SurfaceBook2/install.sh";
|
source "../../scripts/Config/EasyEffects/SurfaceBook2/install.sh";
|
||||||
|
|
||||||
source "../../scripts/Scripts/postinstall.sh";
|
source "../../scripts/Scripts/postinstall.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
# Set Hostname
|
# Set Hostname
|
||||||
sudo hostnamectl set-hostname ManuPopOSLive;
|
sudo hostnamectl set-hostname ManuPopOSLive;
|
||||||
|
@ -9,4 +9,4 @@ source "../../scripts/Software/Collections/personal.sh";
|
||||||
source "../../scripts/Config/UserProfile/personal.sh";
|
source "../../scripts/Config/UserProfile/personal.sh";
|
||||||
|
|
||||||
source "../../scripts/Scripts/postinstall.sh";
|
source "../../scripts/Scripts/postinstall.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -6,13 +6,13 @@ then
|
||||||
else
|
else
|
||||||
apt install -y p7zip-full libgumbo-dev libexpat1-dev libfuse-dev libssl-dev libcurl4-openssl-dev uuid-dev;
|
apt install -y p7zip-full libgumbo-dev libexpat1-dev libfuse-dev libssl-dev libcurl4-openssl-dev uuid-dev;
|
||||||
tempDir="$(mktemp -d)";
|
tempDir="$(mktemp -d)";
|
||||||
pushd "$tempDir";
|
pushd "$tempDir" > /dev/null;
|
||||||
|
|
||||||
git clone https://github.com/fangfufu/httpdirfs.git;
|
git clone https://github.com/fangfufu/httpdirfs.git;
|
||||||
pushd httpdirfs;
|
pushd httpdirfs > /dev/null;
|
||||||
make;
|
make;
|
||||||
install -m 755 -D httpdirfs /usr/local/bin/httpdirfs;
|
install -m 755 -D httpdirfs /usr/local/bin/httpdirfs;
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/ttf-ms-win11-auto.git ttf-win11;
|
git clone https://aur.archlinux.org/ttf-ms-win11-auto.git ttf-win11;
|
||||||
cd ttf-win11;
|
cd ttf-win11;
|
||||||
|
@ -28,5 +28,5 @@ else
|
||||||
unzip -d . CascadiaCode.zip;
|
unzip -d . CascadiaCode.zip;
|
||||||
cp ttf/* /usr/share/fonts/TTF;
|
cp ttf/* /usr/share/fonts/TTF;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
commandName=gnome-shell-extension-installer;
|
commandName=gnome-shell-extension-installer;
|
||||||
extensionLocation=/usr/share/gnome-shell/extensions;
|
extensionLocation=/usr/share/gnome-shell/extensions;
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
sudo apt install -y jq;
|
sudo apt install -y jq;
|
||||||
|
|
||||||
wget -O "$commandName" "https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installer";
|
wget -O "$commandName" "https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installer";
|
||||||
sudo install "$commandName" /usr/local/bin;
|
sudo install "$commandName" /usr/local/bin;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
uuids=();
|
uuids=();
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ for id in 779 4907 1162
|
||||||
do
|
do
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
unzipLocation="$(mktemp -d)";
|
unzipLocation="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
gnome-shell-extension-installer "$id" --no-install;
|
gnome-shell-extension-installer "$id" --no-install;
|
||||||
sudo gnome-shell-extension-installer "$id" --yes;
|
sudo gnome-shell-extension-installer "$id" --yes;
|
||||||
|
@ -27,7 +27,7 @@ do
|
||||||
|
|
||||||
sudo chmod -R +r "$extensionLocation/$uuid";
|
sudo chmod -R +r "$extensionLocation/$uuid";
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dir="${BASH_SOURCE%/*}";
|
dir="${BASH_SOURCE%/*}";
|
||||||
pushd "$dir";
|
pushd "$dir" > /dev/null;
|
||||||
scriptRoot="$dir/../..";
|
scriptRoot="$dir/../..";
|
||||||
softwareRoot="$scriptRoot/Software";
|
softwareRoot="$scriptRoot/Software";
|
||||||
configRoot="$scriptRoot/Config";
|
configRoot="$scriptRoot/Config";
|
||||||
|
@ -8,13 +8,13 @@ cloudRoot="$configRoot/rclone";
|
||||||
|
|
||||||
# Sync clouds
|
# Sync clouds
|
||||||
{
|
{
|
||||||
pushd "$dir";
|
pushd "$dir" > /dev/null;
|
||||||
gnome-terminal --tab --wait -- /bin/bash "../../Config/rclone/InstallSync.sh" nextcloud Nextcloud;
|
gnome-terminal --tab --wait -- /bin/bash "../../Config/rclone/InstallSync.sh" nextcloud Nextcloud;
|
||||||
|
|
||||||
# Install fonts
|
# Install fonts
|
||||||
source "../../Config/Fonts/NerdFont/install.sh";
|
source "../../Config/Fonts/NerdFont/install.sh";
|
||||||
source "../../Software/Oh My Posh/install.sh";
|
source "../../Software/Oh My Posh/install.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
} &
|
} &
|
||||||
|
|
||||||
# Microsoft Windows Fonts
|
# Microsoft Windows Fonts
|
||||||
|
@ -25,4 +25,4 @@ source "../../Config/git/setup/install.sh";
|
||||||
|
|
||||||
# Troll Stuff
|
# Troll Stuff
|
||||||
source "../../Config/git/git-auf-deutsch/install.sh";
|
source "../../Config/git/git-auf-deutsch/install.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Install JetBrains Stuff
|
# Install JetBrains Stuff
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
source "./personal.sh";
|
source "./personal.sh";
|
||||||
source "../../Software/JetBrains/install-toolbox.sh";
|
source "../../Software/JetBrains/install-toolbox.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
sudo apt install -y \
|
sudo apt install -y \
|
||||||
build-essential meson ninja-build pkg-config libgnutls28-dev openssl \
|
build-essential meson ninja-build pkg-config libgnutls28-dev openssl \
|
||||||
|
@ -14,5 +14,5 @@ meson build -Dpipelines=uvcvideo,vimc,ipu3 -Dipas=vimc,ipu3 -Dprefix=/usr -Dgstr
|
||||||
ninja -C build;
|
ninja -C build;
|
||||||
sudo ninja -C build install;
|
sudo ninja -C build install;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
|
|
|
@ -10,7 +10,7 @@ else
|
||||||
# Create context directory
|
# Create context directory
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
packageName="shim.rpm";
|
packageName="shim.rpm";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
# Install Prerequisites
|
# Install Prerequisites
|
||||||
apt install -y wget rpm2cpio efitools;
|
apt install -y wget rpm2cpio efitools;
|
||||||
|
@ -104,6 +104,6 @@ else
|
||||||
mokutil --import "$keyDir/MOK.der";
|
mokutil --import "$keyDir/MOK.der";
|
||||||
|
|
||||||
# Remove context directory
|
# Remove context directory
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
# Install surface-linux
|
# Install surface-linux
|
||||||
source "../../Surface/LinuxSurface/install.sh";
|
source "../../Surface/LinuxSurface/install.sh";
|
||||||
source "../../SurfaceBook2/Camera/install.sh";
|
source "../../SurfaceBook2/Camera/install.sh";
|
||||||
# source "../../SurfaceBook2/SecureBoot/install.sh";
|
# source "../../SurfaceBook2/SecureBoot/install.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
source "../../Config/GnomeExtensions/install.sh";
|
source "../../Config/GnomeExtensions/install.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
scriptRoot="$dir/../..";
|
scriptRoot="$dir/../..";
|
||||||
utilRoot="$scriptRoot/Scripts";
|
utilRoot="$scriptRoot/Scripts";
|
||||||
deviceRoot="$scriptRoot/Devices";
|
deviceRoot="$scriptRoot/Devices";
|
||||||
|
@ -39,4 +39,4 @@ flatpak install -y flathub com.github.wwmm.easyeffects;
|
||||||
flatpak install -y flathub ch.threema.threema-web-desktop;
|
flatpak install -y flathub ch.threema.threema-web-desktop;
|
||||||
flatpak install -y flathub app.ytmdesktop.ytmdesktop;
|
flatpak install -y flathub app.ytmdesktop.ytmdesktop;
|
||||||
flatpak install -y flathub com.github.tchx84.Flatseal;
|
flatpak install -y flathub com.github.tchx84.Flatseal;
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
source "./personal.sh";
|
source "./personal.sh";
|
||||||
|
|
||||||
source "../Java/install.sh";
|
source "../Java/install.sh";
|
||||||
|
@ -8,4 +8,4 @@ source "../cloudflared/install.sh";
|
||||||
# Install other flatpaks
|
# Install other flatpaks
|
||||||
flatpak install -y flathub com.github.xournalpp.xournalpp;
|
flatpak install -y flathub com.github.xournalpp.xournalpp;
|
||||||
flatpak install -y flathub com.github.flxzt.rnote;
|
flatpak install -y flathub com.github.flxzt.rnote;
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -5,12 +5,12 @@ then
|
||||||
sudo bash "$BASH_SOURCE";
|
sudo bash "$BASH_SOURCE";
|
||||||
else
|
else
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
curl -fsSL https://raw.githubusercontent.com/nagygergo/jetbrains-toolbox-install/1.1/jetbrains-toolbox.sh \
|
curl -fsSL https://raw.githubusercontent.com/nagygergo/jetbrains-toolbox-install/1.1/jetbrains-toolbox.sh \
|
||||||
| bash;
|
| bash;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,12 +6,12 @@ then
|
||||||
else
|
else
|
||||||
bin=oh-my-posh;
|
bin=oh-my-posh;
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O "$bin";
|
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O "$bin";
|
||||||
install "$bin" /usr/local/bin;
|
install "$bin" /usr/local/bin;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
|
|
||||||
homeDir="$(sudo -u "$1" bash -c 'realpath ~')";
|
homeDir="$(sudo -u "$1" bash -c 'realpath ~')";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
source "./setup.sh";
|
source "./setup.sh";
|
||||||
source "./pyenv.sh";
|
source "./pyenv.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
sudo apt install -y swtpm swtpm-tools lxc libvirt-daemon-driver-lxc libvirt-daemon-system virt-manager;
|
sudo apt install -y swtpm swtpm-tools lxc libvirt-daemon-driver-lxc libvirt-daemon-system virt-manager;
|
||||||
|
|
||||||
sudo apt install -y python3 python-is-python3 python3-guestfs python3-passlib;
|
sudo apt install -y python3 python-is-python3 python3-guestfs python3-passlib;
|
||||||
git clone https://github.com/virt-manager/virt-bootstrap;
|
git clone https://github.com/virt-manager/virt-bootstrap;
|
||||||
cd virt-bootstrap;
|
cd virt-bootstrap;
|
||||||
sudo python setup.py install;
|
sudo python setup.py install;
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
|
|
|
@ -18,6 +18,6 @@ else
|
||||||
tar -xvzf woodpecker-cli.tar.gz;
|
tar -xvzf woodpecker-cli.tar.gz;
|
||||||
install woodpecker-cli /usr/local/bin;
|
install woodpecker-cli /usr/local/bin;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}";
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
source "./flow.sh";
|
source "./flow.sh";
|
||||||
source "./lfs.sh";
|
source "./lfs.sh";
|
||||||
popd;
|
popd > /dev/null;
|
||||||
|
|
|
@ -5,11 +5,11 @@ then
|
||||||
sudo bash "$BASH_SOURCE";
|
sudo bash "$BASH_SOURCE";
|
||||||
else
|
else
|
||||||
contextRoot="$(mktemp -d)";
|
contextRoot="$(mktemp -d)";
|
||||||
pushd "$contextRoot";
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
wget https://dl.gitea.io/tea/0.9.0/tea-0.9.0-linux-amd64 -O tea;
|
wget https://dl.gitea.io/tea/0.9.0/tea-0.9.0-linux-amd64 -O tea;
|
||||||
install tea /usr/local/bin;
|
install tea /usr/local/bin;
|
||||||
|
|
||||||
popd;
|
popd > /dev/null;
|
||||||
rm -rf "$contextRoot";
|
rm -rf "$contextRoot";
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue