summaryrefslogtreecommitdiff
path: root/games/firestorm/firestorm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/firestorm/firestorm.SlackBuild')
-rw-r--r--games/firestorm/firestorm.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild
index 1fc636179b..ce156f1156 100644
--- a/games/firestorm/firestorm.SlackBuild
+++ b/games/firestorm/firestorm.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=firestorm
-VERSION=${VERSION:-4.0.1.27000}
+VERSION=${VERSION:-4.1.1.28744}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,8 +64,10 @@ chmod -R u+rw-s,go+r-ws .
mkdir -p $PKG/opt/$PRGNAM
# copy files just like the install script would do
cp -a * $PKG/opt/$PRGNAM
+# avoid overwriting the previous configuration
+mv $PKG/opt/$PRGNAM/firestorm $PKG/opt/$PRGNAM/firestorm.new
# sound configuration for standard Slackware installation
-cat firestorm | sed -e 's/^#export LL_BAD_OPENAL_DRIVER=x/export LL_BAD_OPENAL_DRIVER=x/' > $PKG/opt/$PRGNAM/firestorm
+cat firestorm | sed -e 's/^#export LL_BAD_OPENAL_DRIVER=x/export LL_BAD_OPENAL_DRIVER=x/' > $PKG/opt/$PRGNAM/firestorm.new
mkdir -p $PKG/usr/bin
cat << EOF > $PKG/usr/bin/$PRGNAM