1
0
Fork 0
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:
Moul 2016-06-29 01:27:44 +02:00
parent e4c8a1944a
commit dab908bb67

View file

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