mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[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
|
# The debian package has a bug so we deploy a more recent version
|
||||||
DESTDIR="/tmp/wkhtmltox/"
|
DESTDIR="/tmp/wkhtmltox/"
|
||||||
mkdir -p $DESTDIR
|
mkdir -p $DESTDIR
|
||||||
extract_sources $DESTDIR "$app"
|
chown -R $APPNAME: /tmp/wkhtmltox
|
||||||
|
extract_sources $DESTDIR "$APPNAME"
|
||||||
mv "$DESTDIR." /usr/
|
mv "$DESTDIR." /usr/
|
||||||
|
rm -Rf $DESTDIR
|
||||||
|
|
||||||
|
|
||||||
# Set admin password
|
# Set admin password
|
||||||
|
|
Loading…
Reference in a new issue