mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 07:10:51 +02: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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user