]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Ein kleines Feature ins Postfixpaket gemacht, was den Hostnamen richtig einstellt.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 23 Sep 2007 16:40:55 +0000 (16:40 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 23 Sep 2007 16:40:55 +0000 (16:40 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@919 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

src/paks/postfix/install.sh [new file with mode: 0644]
src/paks/postfix/uninstall.sh [new file with mode: 0644]
src/paks/postfix/update.sh [new file with mode: 0644]

diff --git a/src/paks/postfix/install.sh b/src/paks/postfix/install.sh
new file mode 100644 (file)
index 0000000..f2afe9b
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+. /opt/pakfire/lib/functions.sh
+
+extract_files
+
+# Set postfix's hostname
+postconf -e "hostname=$(hostname -f)"
diff --git a/src/paks/postfix/uninstall.sh b/src/paks/postfix/uninstall.sh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/paks/postfix/update.sh b/src/paks/postfix/update.sh
new file mode 100644 (file)
index 0000000..a47a783
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+. /opt/pakfire/lib/functions.sh
+
+extract_files