summaryrefslogtreecommitdiff
path: root/libre/abuse-libre/abuse.sh
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 04:39:32 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 04:39:32 -0200
commitf6fc3d982a13389b2e9937258542828e6a9d54fa (patch)
tree438a6527c3331c6682829d739953000f21a1821e /libre/abuse-libre/abuse.sh
parent15eae1c0628fb12c17af2d78080b0553253fca21 (diff)
downloadabslibre-f6fc3d982a13389b2e9937258542828e6a9d54fa.tar.gz
abslibre-f6fc3d982a13389b2e9937258542828e6a9d54fa.tar.bz2
abslibre-f6fc3d982a13389b2e9937258542828e6a9d54fa.zip
abuse-libre-0.8-4: updating revision, add mksource and fix syntax on provides, replaces and conflicts lines
* add desktop shortcut and made it X-friendly * add missing .install file * fix default settings so they also work if running the game in a virtual installation of Parabola
Diffstat (limited to 'libre/abuse-libre/abuse.sh')
-rw-r--r--libre/abuse-libre/abuse.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/abuse-libre/abuse.sh b/libre/abuse-libre/abuse.sh
new file mode 100644
index 000000000..228bb6f7b
--- /dev/null
+++ b/libre/abuse-libre/abuse.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Use sane configuration files, unless they already exists
+
+if [ ! -d $HOME/.abuse ]; then
+ mkdir -p $HOME/.abuse
+fi
+if [ ! -f $HOME/.abuse/abuserc ]; then
+ cp /usr/share/abuse/default.abuserc $HOME/.abuse/abuserc
+fi
+if [ ! -f $HOME/.abuse/gamma.lsp ]; then
+ cp /usr/share/abuse/default.gamma.lsp $HOME/.abuse/gamma.lsp
+fi
+
+exec /usr/bin/abuse.elf