Add cloudflared to the school collection

This commit is contained in:
Manuel Thalmann 2023-03-06 14:44:28 +01:00
parent f3ddacce6f
commit 3ed4ce4419
2 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,7 @@ softwareRoot="$dir/..";
source "$dir/personal.sh";
source "$softwareRoot/Java/install.sh";
source "$softwareRoot/cloudflared/install.sh";
# Install other flatpaks
flatpak install -y flathub com.github.xournalpp.xournalpp;

View file

@ -0,0 +1,11 @@
#!/bin/bash
# Elevate script
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE" "$USER";
else
package="$(mktemp)";
wget https://github.com/cloudflare/cloudflared/releases/download/2023.3.0/cloudflared-linux-amd64.deb -O "$package";
dpkg -i "$package";
rm -f "$package";
fi