Try to fix Snap.

Thanks to roadmr and xet7 !
This commit is contained in:
Lauri Ojansivu 2021-07-21 23:40:13 +03:00
parent f7d6ac9401
commit 33836af1f9
2 changed files with 21 additions and 6570 deletions

6578
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1 +0,0 @@
install

12
snap/hooks/post-refresh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
exec >> $SNAP_DATA/hook.log 2>&1
echo "$(date '+%Y-%m-%d %H:%M:%S') $0: Entering hook"
# coppy caddy file in place
[ ! -e $SNAP_COMMON/Caddyfile ] && cp $SNAP/Caddyfile $SNAP_COMMON/Caddyfile
# create run dir, we're going to use it for unix socket
mkdir -p $SNAP_DATA/share
mkdir -p $SNAP_DATA/shared