fix(packaging): Add usr/share/doc/sogo/ for packaging. Fixes partially #5698

This commit is contained in:
smizrahi
2023-02-27 11:22:39 +01:00
parent 114c98c32d
commit 7ea7572766
2 changed files with 5 additions and 3 deletions

View File

@@ -24,5 +24,4 @@ usr/lib/GNUstep/SOGo/Mailer.SOGo
usr/lib/GNUstep/SOGo/MailerUI.SOGo
usr/lib/GNUstep/SOGo/MainUI.SOGo
usr/lib/GNUstep/SOGo/PreferencesUI.SOGo
usr/lib/GNUstep/SOGo/SchedulerUI.SOGo
usr/share/doc/sogo/*
usr/lib/GNUstep/SOGo/SchedulerUI.SOGo

View File

@@ -25,7 +25,10 @@ case "$1" in
# (they do not really belong there, we are violating Debian
# packaging guidelines, but OTOH moving these files now would
# break lots of setups)
chmod a+x /usr/share/doc/sogo/*.sh
if [ -d "/usr/share/doc/sogo" ]
then
chmod a+x /usr/share/doc/sogo/*.sh
fi
# Enforce owner+mode on configuration
chmod 750 /etc/sogo