[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109537: ITP: stalwart, All-in-one Mail & Collaboration server.



Package: wnpp
Followup-For: Bug #1109537

Another small fix:

--- a/resources/systemd/postrm
+++ b/resources/systemd/postrm
@@ -1,11 +1,8 @@
 #!/bin/sh
 set -e

-# TODO  Check for "update"   and avoid the `rm -rf /var/log/stalwart` when updating
-#       So try to keep the log directory when NOT  "remove" or "purge"
-if [ "$1" == "$1" ] ; then 
+if [ "$1" = "purge" ] ; then 
        rm -rf /var/log/stalwart
-       # FIXME  see the TODO
 fi

 #DEBHELPER#




BTW I've setup a reprepro for those wanting to test it without
the burden of rebuilding it:

https://people.debian.org/~kapouer/apt/


Reply to: