New version authelia bitwarden-desktop element-web joplin-desktop vaultwarden vaultwarden-web
This commit is contained in:
parent
9359602185
commit
5ecefd0f87
22 changed files with 120 additions and 148 deletions
|
@ -1,8 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
minimum_package() {
|
||||
apt update
|
||||
apt install -y git wget ca-certificates dpkg fakeroot gnupg
|
||||
}
|
||||
|
||||
default_prebuild(){
|
||||
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
|
||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/${APP}
|
||||
}
|
||||
|
||||
configure_depot_yarn() {
|
||||
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
||||
wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
||||
}
|
||||
|
||||
configure_depot_nodejs() {
|
||||
|
@ -11,11 +21,6 @@ configure_depot_nodejs() {
|
|||
grep -q 16.x /etc/apt/sources.list.d/nodesource.list
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
if [ ! -e /usr/bin/wget ]
|
||||
then
|
||||
apt update
|
||||
apt install wget
|
||||
fi
|
||||
wget -qO - https://deb.nodesource.com/setup_${NODE_VERSION} | bash
|
||||
fi
|
||||
}
|
||||
|
@ -31,6 +36,11 @@ install_go() {
|
|||
fi
|
||||
}
|
||||
|
||||
install_rust() {
|
||||
wget -qO - https://sh.rustup.rs > /tmp/rustup
|
||||
bash /tmp/rustup -qy
|
||||
}
|
||||
|
||||
|
||||
if [ ! "$1" == "" ];
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue