Browse Source
Merge pull request #411 from YunoHost-Apps/fix_linter
Merge pull request #411 from YunoHost-Apps/fix_linter
Linters stuff: get rid of ynh_replace_string and multimedia helper now officialpull/412/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 90 deletions
-
6conf/app.src.default
-
2conf/nextcloud.cron
-
5hooks/post_user_create
-
2manifest.json
-
39scripts/_common.sh
-
2scripts/change_url
-
33scripts/install
-
29scripts/upgrade
@ -1,6 +0,0 @@ |
|||
SOURCE_URL=https://download.nextcloud.com/server/releases/nextcloud-__VERSION__.tar.bz2 |
|||
SOURCE_SUM=__SHA256_SUM__ |
|||
SOURCE_SUM_PRG=sha256sum |
|||
SOURCE_FORMAT=tar.bz2 |
|||
SOURCE_IN_SUBDIR=true |
|||
SOURCE_FILENAME= |
|||
@ -1 +1 @@ |
|||
*/15 * * * * __USER__ /usr/bin/php__PHPVERSION__ -f __FINALPATH__/cron.php |
|||
*/15 * * * * __APP__ /usr/bin/php__PHPVERSION__ -f __FINAL_PATH__/cron.php |
|||
@ -1,5 +1,6 @@ |
|||
#!/bin/bash |
|||
|
|||
user=$1 |
|||
user="$1" |
|||
app="$(basename $0 | cut -d- -f 2-)" # Extract the app name from the script name, which is supposed to be something like "50-app_id" |
|||
|
|||
sudo setfacl --modify g:__GROUP__:rwx /home/$user |
|||
setfacl --modify g:$app:rwx /home/$user |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue