summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDian Fay2016-10-19 19:30:20 -0400
committerDian Fay2016-10-19 19:30:20 -0400
commita3b94fc37e77868d348be2b072f532967f3ec89d (patch)
tree4ee61e0befe6247d48d69d1829d0440ab39286de
parent57d509e1ddfb01cfa6b970c2c0b8a00206f89456 (diff)
downloadaur-a3b94fc37e77868d348be2b072f532967f3ec89d.tar.gz
need root to copy between home directories
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rwxr-xr-xdom49
3 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aab4b6114ec..61c9064f8b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dom4-server
pkgdesc = Configure and run Dominions 4 as a headless server
- pkgver = 1.1.1
+ pkgver = 1.1.2
pkgrel = 1
url = http://www.illwinter.com/dom4/
install = dom4-server.install
@@ -16,7 +16,7 @@ pkgbase = dom4-server
md5sums = d7467fb7a599236f71d428a85cf05014
md5sums = e9772a237cc540558e74235b98df8a7f
md5sums = 338b8462868ecf6cc56c4a520cea6bac
- md5sums = 7abd186618d24111ec3cf7c24332a7e0
+ md5sums = c120fdb1e6673b1bfc2f65204ac66ea1
pkgname = dom4-server
diff --git a/PKGBUILD b/PKGBUILD
index 3904bf37ec1..6a69d91c76f 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.1.1
+pkgver=1.1.2
pkgrel=1
pkgdesc="Configure and run Dominions 4 as a headless server"
arch=("x86_64")
@@ -30,4 +30,4 @@ md5sums=('03931b9317799ef4ae7fded185cd1c69'
'd7467fb7a599236f71d428a85cf05014'
'e9772a237cc540558e74235b98df8a7f'
'338b8462868ecf6cc56c4a520cea6bac'
- '7abd186618d24111ec3cf7c24332a7e0')
+ 'c120fdb1e6673b1bfc2f65204ac66ea1')
diff --git a/dom4 b/dom4
index 558672ef8ac..fc0a8433e95 100755
--- a/dom4
+++ b/dom4
@@ -11,12 +11,15 @@ function install {
read -r -s -p "Steam password: " pass
echo
- echo "Installing Dominions 4 to /opt/dom4"
+ echo "Installing Dominions 4 to /opt/dom4..."
sudo -u dom4 steamcmd +login $user $pass +force_install_dir /opt/dom4 +app_update 259060 validate +quit
- read -r -p "Enter your Dominions 4 CD Key: " key
+ read -r -p "Enter your Dominions 4 license key: " key
echo $key | sudo -u dom4 tee /opt/dom4/dom4key > /dev/null
+
+ echo "Copied license information to Dominions 4 install directory."
+ echo "Installation complete. Use 'dom4 config' to set up a game."
}
# Change the current hosted game by editing /usr/share/dom4/current.
@@ -99,7 +102,7 @@ EOF
if [[ -s "$mapname.map" ]]; then
echo "Copying $mapname map files..."
- sudo -u dom4 cp "$mapname".* /usr/share/dom4/maps
+ sudo cp "$mapname".* /usr/share/dom4/maps
elif [[ -s "$HOME/dominions4/maps/$mapname".map ]]; then
echo "Copying $mapname map files from $HOME/dominions4/maps..."