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:
parent
11fa2d211c
commit
f53585b566
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue