Add cloudflared
to the school collection
This commit is contained in:
parent
f3ddacce6f
commit
3ed4ce4419
2 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,7 @@ softwareRoot="$dir/..";
|
||||||
source "$dir/personal.sh";
|
source "$dir/personal.sh";
|
||||||
|
|
||||||
source "$softwareRoot/Java/install.sh";
|
source "$softwareRoot/Java/install.sh";
|
||||||
|
source "$softwareRoot/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;
|
||||||
|
|
11
scripts/Software/cloudflared/install.sh
Executable file
11
scripts/Software/cloudflared/install.sh
Executable 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
|
Loading…
Reference in a new issue