[fix] changing ownership of ‘/tmp/wkhtmltox’: Operation not permitted

This commit is contained in:
ljf 2016-12-14 12:17:11 +01:00
parent fd307618d9
commit 31822e1512

View file

@ -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