mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-09 01:09:16 +00:00
Debug.
This commit is contained in:
parent
5b6281f95a
commit
69cbc12047
@ -39,11 +39,11 @@ rm -rf /var/www/html
|
||||
RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-3/5etools-src/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip"
|
||||
unzip -q "${RELEASE}.zip"
|
||||
mv "${APP}-src-${RELEASE}/" "/opt/${APP}"
|
||||
ln -s "/opt/${APP}" /var/www/html
|
||||
mv "5etools-src-${RELEASE}/" "/opt/5etools"
|
||||
ln -s "/opt/5etools" /var/www/html
|
||||
|
||||
chown -R www-data: "/opt/${APP}"
|
||||
chmod -R 755 "/opt/${APP}"
|
||||
chown -R www-data: "/opt/5etools"
|
||||
chmod -R 755 "/opt/5etools"
|
||||
|
||||
# Cleaning up
|
||||
msg_info "Cleaning Up"
|
||||
|
Loading…
Reference in New Issue
Block a user