mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
move lines to comply linter
This commit is contained in:
parent
04f4c86137
commit
72b325ebb1
1 changed files with 5 additions and 5 deletions
|
@ -12,16 +12,16 @@ set -eu
|
|||
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \
|
||||
|| ynh_die "Unable to install dependencies"
|
||||
|
||||
#old version cleanup
|
||||
if [ -f $FINAL_PATH/data/user.php.dist ]; then
|
||||
sudo rm $FINAL_PATH/data/user.php.dist
|
||||
fi
|
||||
|
||||
# Check destination directory
|
||||
[[ ! -d $FINAL_PATH ]] && ynh_die \
|
||||
"The destination directory '$FINAL_PATH' does not exist.\
|
||||
The app is not correctly installed, you should remove it first."
|
||||
|
||||
#old version cleanup
|
||||
if [ -f $FINAL_PATH/data/user.php.dist ]; then
|
||||
sudo rm $FINAL_PATH/data/user.php.dist
|
||||
fi
|
||||
|
||||
# Create tmp directory and install app inside
|
||||
TMPDIR=$(ynh_mkdir_tmp)
|
||||
extract_freshrss "$TMPDIR"
|
||||
|
|
Loading…
Reference in a new issue