summaryrefslogtreecommitdiff
path: root/games/angband/doinst.sh
diff options
context:
space:
mode:
authorMarshall Scott <bacchist@gmail.com>2010-05-12 23:29:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:29:07 +0200
commit2c051649490cb12da98fce62ff5e2aca7d0ac6c0 (patch)
tree0a3742c5516cd17d50a864748309777a280e7e01 /games/angband/doinst.sh
parent76d073ed29c22e570ea421b2d49ccc034909c9da (diff)
downloadslackbuilds-2c051649490cb12da98fce62ff5e2aca7d0ac6c0.tar.gz
games/angband: Added to 12.2 repository
Diffstat (limited to 'games/angband/doinst.sh')
-rw-r--r--games/angband/doinst.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/angband/doinst.sh b/games/angband/doinst.sh
new file mode 100644
index 0000000000..fa833fa0f0
--- /dev/null
+++ b/games/angband/doinst.sh
@@ -0,0 +1,23 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ [ ! -r $OLD ] && mv $NEW $OLD
+ rm -f $NEW
+}
+
+config var/games/angband/apex/scores.raw.new
+config var/games/angband/data/artifact.raw.new
+config var/games/angband/data/ego_item.raw.new
+config var/games/angband/data/flavor.raw.new
+config var/games/angband/data/limits.raw.new
+config var/games/angband/data/monster.raw.new
+config var/games/angband/data/object.raw.new
+config var/games/angband/data/p_class.raw.new
+config var/games/angband/data/p_hist.raw.new
+config var/games/angband/data/p_race.raw.new
+config var/games/angband/data/prices.raw.new
+config var/games/angband/data/shop_own.raw.new
+config var/games/angband/data/spells.raw.new
+config var/games/angband/data/terrain.raw.new
+config var/games/angband/data/vault.raw.new
+