mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
[fix] upgrade: overite when unzipping.
This commit is contained in:
parent
e4c8a1944a
commit
dab908bb67
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ sudo mkdir -p $src_path
|
|||
# Retrieve sources and install them
|
||||
version=$(cat ../conf/upstream_version)
|
||||
wget -nc --quiet https://github.com/pluxml/PluXml/archive/$version.zip -P /tmp
|
||||
sudo unzip -q /tmp/$version.zip -d /tmp
|
||||
sudo unzip -oq /tmp/$version.zip -d /tmp
|
||||
# Copy only core data and do not erase data
|
||||
sudo cp -r /tmp/PluXml-$version/{config.php,core,feed.php,index.php,sitemap.php,update} $src_path
|
||||
|
||||
|
|
Loading…
Reference in a new issue