mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-02-01 19:31:52 +00:00
Update actualbudget-install.sh
This commit is contained in:
parent
77c15f5a24
commit
eefbbdf4df
@ -38,10 +38,11 @@ msg_ok "Installed Node.js"
|
|||||||
|
|
||||||
msg_info "Installing Actual Budget"
|
msg_info "Installing Actual Budget"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
wget -q https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}
|
cd /opt
|
||||||
|
$STD git clone https://github.com/actualbudget/actual-server.git /opt/actualbudget
|
||||||
#$STD curl -L -o actual-server.tar.gz https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}.tar.gz
|
#$STD curl -L -o actual-server.tar.gz https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}.tar.gz
|
||||||
$STD tar -xzvf v${RELEASE}.tar.gz
|
#$STD tar -xzvf v${RELEASE}.tar.gz
|
||||||
mv *ctual-server-* /opt/actualbudget
|
#mv *ctual-server-* /opt/actualbudget
|
||||||
mkdir -p /opt/actualbudget/server-files
|
mkdir -p /opt/actualbudget/server-files
|
||||||
mkdir -p /opt/actualbudget-data
|
mkdir -p /opt/actualbudget-data
|
||||||
chown -R root:root /opt/actualbudget/server-files
|
chown -R root:root /opt/actualbudget/server-files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user