[fix] changing ownership of ‘/tmp/wkhtmltox’: Operation not permitted
This commit is contained in:
parent
fd307618d9
commit
31822e1512
1 changed files with 4 additions and 4 deletions
|
@ -69,11 +69,11 @@ else
|
|||
|
||||
# The debian package has a bug so we deploy a more recent version
|
||||
DESTDIR="/tmp/wkhtmltox/"
|
||||
mkdir -p $DESTDIR
|
||||
chown -R $APPNAME: /tmp/wkhtmltox
|
||||
sudo mkdir -p $DESTDIR
|
||||
sudo chown -R $APPNAME: /tmp/wkhtmltox
|
||||
extract_sources $DESTDIR "$APPNAME"
|
||||
mv "$DESTDIR." /usr/
|
||||
rm -Rf $DESTDIR
|
||||
sudo mv "$DESTDIR." /usr/
|
||||
sudo rm -Rf $DESTDIR
|
||||
|
||||
|
||||
# Set admin password
|
||||
|
|
Loading…
Reference in a new issue