summaryrefslogtreecommitdiff
path: root/desktop/ion/ion.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-28 20:27:01 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:40 -0500
commit6142ca91e20156c4f12575269986e8f8d03450cb (patch)
treeda4d4c668549fa175a52e3b8586aba56f363269a /desktop/ion/ion.SlackBuild
parent3032ce580f99e781f534ffa6cad45bd039950b58 (diff)
downloadslackbuilds-6142ca91e20156c4f12575269986e8f8d03450cb.tar.gz
desktop/ion: Fixed (Don't clobber config files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/ion/ion.SlackBuild')
-rw-r--r--desktop/ion/ion.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/desktop/ion/ion.SlackBuild b/desktop/ion/ion.SlackBuild
index 1c839afc65..20c60f0818 100644
--- a/desktop/ion/ion.SlackBuild
+++ b/desktop/ion/ion.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=ion
VERSION=3_20090110
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,7 +72,11 @@ make install \
# Install an xinitrc file so that ion will show up in xwmconfig
# We also need to patch the reference to the X11 lib directory when
# running on x86_64.
-install -D -m 0755 $CWD/xinitrc.ion $PKG/etc/X11/xinit/xinitrc.ion
+install -D -m 0755 $CWD/xinitrc.ion $PKG/etc/X11/xinit/xinitrc.ion.new
+
+cd $PKG/etc/ion3
+ for f in * ; do mv $f $f.new ; done
+cd -
# Add ion3 as a valid session in login managers
install -D -m 0755 $CWD/ion3.desktop $PKG/usr/share/xsessions/ion3.desktop
@@ -86,6 +90,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}