summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDian Fay2016-09-24 12:15:13 -0400
committerDian Fay2016-09-24 12:16:39 -0400
commitcc3c7074aadc4018a7d20ecf49a109fddd0645a9 (patch)
treea8a323c32822b04f5b3c9e5a744c522c67d0b116
parent6c1316c9aa685678992855907dedf29a87b0865a (diff)
downloadaur-cc3c7074aadc4018a7d20ecf49a109fddd0645a9.tar.gz
silent removal
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rwxr-xr-xbuild1
-rw-r--r--dom4-server.install12
4 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86b0db282ea..92a856e5ddc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dom4-server
pkgdesc = Configure and run Dominions 4 as a headless server
- pkgver = 1.0.3
+ pkgver = 1.0.4
pkgrel = 1
url = http://www.illwinter.com/dom4/
install = dom4-server.install
@@ -16,7 +16,7 @@ pkgbase = dom4-server
md5sums = 7e51badb10054709bbec60bfcbf424ee
md5sums = e9772a237cc540558e74235b98df8a7f
md5sums = 338b8462868ecf6cc56c4a520cea6bac
- md5sums = 99cdd4c32d1737b03cf8f55758d918ec
+ md5sums = 17d227cbd6c5b620b7cf2c07aba37b31
md5sums = 22bdb16a296d12c51988c43c3218201b
pkgname = dom4-server
diff --git a/PKGBUILD b/PKGBUILD
index 96db869ab48..7c1aa76b0a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Dominions 4 Server Configuration
# Maintainer: Dian Fay <dian.m.fay@gmail.com>
pkgname=dom4-server
-pkgver=1.0.3
+pkgver=1.0.4
pkgrel=1
pkgdesc="Configure and run Dominions 4 as a headless server"
arch=('x86_64')
diff --git a/build b/build
index d4b8b7493a0..fac05bfefc8 100755
--- a/build
+++ b/build
@@ -1,4 +1,5 @@
sudo pacman -R dom4-server <<< "Y"
updpkgsums
makepkg -cf
+makepkg --printsrcinfo > .SRCINFO
makepkg -sri <<< "Y"
diff --git a/dom4-server.install b/dom4-server.install
index 2fa9e86816f..ab6418d87ae 100644
--- a/dom4-server.install
+++ b/dom4-server.install
@@ -34,17 +34,17 @@ EOF
post_remove() {
if systemctl is-active dom4-server &> /dev/null; then
- systemctl stop dom4-server
+ systemctl stop dom4-server &> /dev/null
fi
- systemctl daemon-reload
- systemctl reset-failed
+ systemctl daemon-reload &> /dev/null
+ systemctl reset-failed &> /dev/null
- userdel dom4 > /dev/null
+ userdel dom4 &> /dev/null
if [[ -s /usr/share/dom4/current ]]; then
- rm /usr/share/dom4/current
+ rm /usr/share/dom4/current &> /dev/null
fi
- rm -rf /run/dom4
+ rm -rf /run/dom4 &> /dev/null
}