1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adminer_ynh.git synced 2024-09-03 18:06:06 +02:00
This commit is contained in:
ericgaspar 2021-07-10 08:02:59 +02:00
parent ca40bdd0b2
commit d08c53faeb
3 changed files with 2 additions and 19 deletions

View file

@ -1,7 +0,0 @@
SOURCE_URL=https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1.php
SOURCE_SUM=2fd7e6d8f987b243ab1839249551f62adce19704c47d3d0c8dd9e57ea5b9c6b3
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=php
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=index.php
SOURCE_EXTRACT=false

View file

@ -1,7 +0,0 @@
SOURCE_URL=https://raw.githubusercontent.com/vrana/adminer/master/designs/hever/adminer.css
SOURCE_SUM=fe222d82369d099fa0f1bb372d90a2e532e50478a27d7111d27a5dc8e2df2044
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=css
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=adminer.css
SOURCE_EXTRACT=false

View file

@ -59,13 +59,10 @@ ynh_script_progression --message="Setting up source files..." --weight=11
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# 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="$final_path" --source_id="app" mkdir -p $final_path
ynh_setup_source --dest_dir="$final_path" --source_id="css"
#mkdir -p $final_path
#copy files from with_root_access folder to the final_path #copy files from with_root_access folder to the final_path
#cp -a ../sources/with_root_access/. $final_path cp -a ../sources/with_root_access/. $final_path
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"