diff --git a/packaging/debian/sogo.install b/packaging/debian/sogo.install index 01c75dc39..0bc04fd49 100644 --- a/packaging/debian/sogo.install +++ b/packaging/debian/sogo.install @@ -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/* \ No newline at end of file +usr/lib/GNUstep/SOGo/SchedulerUI.SOGo \ No newline at end of file diff --git a/packaging/debian/sogo.postinst b/packaging/debian/sogo.postinst index 8227c196a..6abc6c022 100644 --- a/packaging/debian/sogo.postinst +++ b/packaging/debian/sogo.postinst @@ -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