mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
Refactor: Remove redundant dependencies & unify unzip usage (#4780)
* refactor unzip / remove dep * remove deps from alpine packages * remove gnupg * remove gnupg
This commit is contained in:
parent
dcfe80e069
commit
c356f77efe
121 changed files with 279 additions and 371 deletions
|
|
@ -17,7 +17,7 @@ msg_info "Installing Pocketbase"
|
|||
RELEASE="$(curl -fsSL https://api.github.com/repos/pocketbase/pocketbase/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')"
|
||||
curl -fsSL "https://github.com/pocketbase/pocketbase/releases/download/v${RELEASE}/pocketbase_${RELEASE}_linux_amd64.zip" -o "/tmp/pocketbase.zip"
|
||||
mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks}
|
||||
unzip -q -o /tmp/pocketbase.zip -d /opt/pocketbase
|
||||
$STD unzip -o /tmp/pocketbase.zip -d /opt/pocketbase
|
||||
|
||||
cat <<EOF >/etc/systemd/system/pocketbase.service
|
||||
[Unit]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue