Skip to content

Commit a3f94e4

Browse files
committed
remote.sh: add exception for files_pdfviewer
Signed-off-by: Simon L. <szaimen@e.mail.de>
1 parent 2dafef7 commit a3f94e4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

remote.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,14 @@ if [ -n "$BRANCH" ] && ! [ -f "/var/www/$APPID-completed" ]; then
374374
if [ -f package.json ]; then
375375
# Link nextcloud vue
376376
link_nextcloud_vue "$APPID"
377+
378+
# Make exception for pdfviewer which seems to have outdated package-lock.json.
379+
# TODO: revert this later
380+
if [ -f "$APPID" = "files_pdfviewer" ]; then
381+
npm install
382+
fi
383+
384+
# Compile the app
377385
if ! npm ci --no-audit || ! link_nextcloud_vue "$APPID" || ! npm run dev --if-present; then
378386
echo "Could not compile the $APPID app."
379387
exit 1

0 commit comments

Comments
 (0)