mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
[fix] Pgpback keys folder
This commit is contained in:
parent
2b0d91b22b
commit
a76e73497d
1 changed files with 4 additions and 1 deletions
|
@ -121,6 +121,8 @@ CHECK_DOMAINPATH
|
||||||
|
|
||||||
# Install PGPback by chtixof to allow users to backup/restore their PGP private keys on the server
|
# Install PGPback by chtixof to allow users to backup/restore their PGP private keys on the server
|
||||||
sudo cp -rf ../sources/pgpback $final_path/.
|
sudo cp -rf ../sources/pgpback $final_path/.
|
||||||
|
mkdir /var/www/rainloop/pgpback/keys
|
||||||
|
sudo chown -R www-data: /var/www/rainloop/pgpback/keys
|
||||||
|
|
||||||
# Set permissions to rainloop directory
|
# Set permissions to rainloop directory
|
||||||
sudo find $final_path/. -type d -exec chmod 755 {} \;
|
sudo find $final_path/. -type d -exec chmod 755 {} \;
|
||||||
|
@ -147,6 +149,7 @@ CHECK_DOMAINPATH
|
||||||
sudo chown root: $finalphpconf
|
sudo chown root: $finalphpconf
|
||||||
sudo chmod 644 $finalphpconf
|
sudo chmod 644 $finalphpconf
|
||||||
|
|
||||||
|
|
||||||
# Make app public if necessary
|
# Make app public if necessary
|
||||||
ynh_app_setting_set "$app" is_public "$is_public"
|
ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
if [ "$is_public" = "Yes" ];
|
if [ "$is_public" = "Yes" ];
|
||||||
|
|
Loading…
Reference in a new issue