[fix] Permission denied on tarball extract
This commit is contained in:
parent
40f007a4c4
commit
a923d850c2
1 changed files with 3 additions and 1 deletions
|
@ -71,8 +71,10 @@ else
|
|||
# The debian package has a bug so we deploy a more recent version
|
||||
DESTDIR="/tmp/wkhtmltox/"
|
||||
mkdir -p $DESTDIR
|
||||
extract_sources $DESTDIR "$app"
|
||||
chown -R $APPNAME: /tmp/wkhtmltox
|
||||
extract_sources $DESTDIR "$APPNAME"
|
||||
mv "$DESTDIR." /usr/
|
||||
rm -Rf $DESTDIR
|
||||
|
||||
|
||||
# Set admin password
|
||||
|
|
Loading…
Reference in a new issue