LibreQR 2.0.0 + better packaging practices #11

Merged
miraty merged 23 commits from testing into master 2022-08-26 23:29:09 +02:00
Showing only changes of commit 55b671b9d2 - Show all commits

View file

@ -5,8 +5,10 @@ libreqr_apply_filesystem_permissions() {
find "$final_path" -type d -exec chown $app:www-data "{}" +
find "$final_path" -type f -name "*.php" -exec chmod 400 "{}" +
find "$final_path" -type f -name "*.php" -exec chown $app:$app "{}" +
find "$final_path" -type f -name "*.less" -or -name "*.css" -exec chmod 440 "{}" +
find "$final_path" -type f -name "*.less" -or -name "*.css" -exec chown $app:www-data "{}" +
find "$final_path" -type f -name "*.css" -exec chmod 440 "{}" +
find "$final_path" -type f -name "*.css" -exec chown $app:www-data "{}" +
find "$final_path" -type f -name "*.less" -exec chmod 440 "{}" +
find "$final_path" -type f -name "*.less" -exec chown $app:www-data "{}" +
chmod 350 "$final_path"/css
chown $app:www-data "$final_path"/css
}