[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
|
# The debian package has a bug so we deploy a more recent version
|
||||||
DESTDIR="/tmp/wkhtmltox/"
|
DESTDIR="/tmp/wkhtmltox/"
|
||||||
mkdir -p $DESTDIR
|
sudo mkdir -p $DESTDIR
|
||||||
chown -R $APPNAME: /tmp/wkhtmltox
|
sudo chown -R $APPNAME: /tmp/wkhtmltox
|
||||||
extract_sources $DESTDIR "$APPNAME"
|
extract_sources $DESTDIR "$APPNAME"
|
||||||
mv "$DESTDIR." /usr/
|
sudo mv "$DESTDIR." /usr/
|
||||||
rm -Rf $DESTDIR
|
sudo rm -Rf $DESTDIR
|
||||||
|
|
||||||
|
|
||||||
# Set admin password
|
# Set admin password
|
||||||
|
|
Loading…
Reference in a new issue