Skip to content

Commit

Permalink
Update pf2etools.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MickLesk authored Feb 13, 2025
1 parent abf459d commit 6bc4792
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ct/pf2etools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ function update_script() {
check_container_storage
check_container_resources

# Check if installation is present | -f for file, -d for folder
if [[ ! -d "/opt/${APP}" ]]; then
msg_error "No ${APP} Installation Found!"
exit
Expand All @@ -49,8 +48,8 @@ function update_script() {
rm -rf "/opt/${APP}"
mv ${APP}-${RELEASE:1} /opt/${APP}
cd /opt/Pf2eTools
$STD npm install
$STD npm run build
npm install &> /dev/null
npm run build &> /dev/null
chown -R www-data: "/opt/${APP}"
chmod -R 755 "/opt/${APP}"
echo "${RELEASE}" >"/opt/${APP}_version.txt"
Expand Down

0 comments on commit 6bc4792

Please sign in to comment.