updated for gitea server
This commit is contained in:
1 parent
885f772630
commit
f3518956c6
9 files changed
+169
-9
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./scripts/colors.sh
|
||||
. ./scripts/funcs.sh
|
||||
. ./scripts/config.sh
|
||||
. ./scripts/zlib.sh
|
||||
. ./scripts/dropbear.sh
|
||||
. ./scripts/sftp_server.sh
|
||||
. ./scripts/curl.sh
|
||||
. ./scripts/bash.sh
|
||||
. ./scripts/git.sh
|
||||
|
||||
gitea() {
|
||||
if [ ! -d $build/zlib ]; then
|
||||
zlib
|
||||
fi
|
||||
if [ ! -d $build/dropbear ]; then
|
||||
dropbear
|
||||
fi
|
||||
if [ ! -d $build/sftp_server ]; then
|
||||
sftp_server
|
||||
fi
|
||||
if [ ! -d $build/curl ]; then
|
||||
curl
|
||||
fi
|
||||
if [ ! -d $build/curl ]; then
|
||||
bash
|
||||
fi
|
||||
if [ ! -d $build/git ]; then
|
||||
git
|
||||
fi
|
||||
cp -v $root/downloads/gitea-1.22.4-linux-arm-5 $rootfspath/usr/bin/gitea
|
||||
chmod +x $rootfspath/usr/bin/gitea
|
||||
check $? "download and install gitea to rootfs"
|
||||
}
|
||||
Reference in new issue
Block a user