mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
cleanup upgrade scritp
This commit is contained in:
parent
a324de15d3
commit
7d0beb1b7d
1 changed files with 4 additions and 5 deletions
|
@ -26,6 +26,7 @@ extract_freshrss "$TMPDIR"
|
|||
sudo rm $TMPDIR/data/do-install.txt
|
||||
sudo cp $FINAL_PATH/data/config.php $TMPDIR/data/config.php
|
||||
sudo cp -r $FINAL_PATH/data/users/. $TMPDIR/data/users/
|
||||
sudo cp -r $FINAL_PATH/extensions/. $TMPDIR/extensions/
|
||||
|
||||
# Set permissions to freshrss directory
|
||||
sudo chown -R www-data: $TMPDIR/data/
|
||||
|
@ -37,7 +38,5 @@ sudo cp -rp "$TMPDIR" "$FINAL_PATH"
|
|||
|
||||
|
||||
#install extention for api if necessary
|
||||
if ! dpkg -s php5-gmp | grep "installed" > /dev/null 2>&1; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y php5-gmp
|
||||
fi
|
||||
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \
|
||||
|| ynh_die "Unable to install dependencies"
|
||||
|
|
Loading…
Add table
Reference in a new issue