mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
Merge 844480c316
into 79c37d25b1
This commit is contained in:
commit
1dc378786d
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ if [ -z $(sqlite3 $install_dir/app.db "SELECT config_kepubifypath FROM settings"
|
||||||
eval sqlite3 $install_dir/app.db "\"UPDATE settings SET config_kepubifypath='/opt/kepubify/$app/kepubify' WHERE ID=1\""
|
eval sqlite3 $install_dir/app.db "\"UPDATE settings SET config_kepubifypath='/opt/kepubify/$app/kepubify' WHERE ID=1\""
|
||||||
fi
|
fi
|
||||||
if [ ! -d /opt/kepubify/$app ]; then
|
if [ ! -d /opt/kepubify/$app ]; then
|
||||||
ynh_setup_source --dest_dir="/opt/kepubify/$app" --source_id="kepubify"
|
ynh_setup_source --dest_dir="/opt/kepubify/$app" --source_id="kepubify" --full_replace=1
|
||||||
chmod 770 /opt/kepubify/$app/kepubify
|
chmod 770 /opt/kepubify/$app/kepubify
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ then
|
||||||
ynh_add_config --template="../sources/patches/main-constants.py.patch.src" --destination="../sources/patches/main-constants.py.patch"
|
ynh_add_config --template="../sources/patches/main-constants.py.patch.src" --destination="../sources/patches/main-constants.py.patch"
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
|
||||||
chown -R $app: $install_dir
|
chown -R $app: $install_dir
|
||||||
|
|
||||||
# Remove the patch for web.py in case visitor are allowed
|
# Remove the patch for web.py in case visitor are allowed
|
||||||
|
|
Loading…
Add table
Reference in a new issue