1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00

mkdir /user/plugins in tmp

This commit is contained in:
anmol26s 2018-06-08 00:58:54 +05:30
parent 11fa2d211c
commit f53585b566

View file

@ -60,8 +60,9 @@ path_url=$(ynh_normalize_url_path $path_url)
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
# Download, check integrity, uncompress and patch the source from app.src
# Create a temporary directory
# Create a temporary directory along with /user/plugin sub directory in it
tmpdir="$(mktemp -d)"
mkdir -p "$tmpdir/user/plugins"
# Backup the app files in the temp dir
sudo cp -a "$final_path/index.php" "$tmpdir"