[SCM] Debian packaging of wesnoth branch, master, updated. debian/1.8.3-5-4-g23ce983
Gerfried Fuchs
rhonda at debian.at
Mon Sep 20 19:17:50 UTC 2010
The following commit has been merged in the master branch:
commit 6410fb5c1e8d0d690c4af79f6a899565a7788145
Author: Gerfried Fuchs <rhonda at debian.at>
Date: Mon Sep 20 20:58:12 2010 +0200
Fix wesnoth-music.postinst handling
diff --git a/debian/wesnoth-music.postinst b/debian/wesnoth-music.postinst
index e5577a4..c6999b0 100644
--- a/debian/wesnoth-music.postinst
+++ b/debian/wesnoth-music.postinst
@@ -8,10 +8,8 @@ set -e
case "$1" in
configure|reconfigure)
if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
- if [ -d /usr/share/doc/wesnoth-music ]; then
- if rmdir /usr/share/doc/wesnoth-music; then
- ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-music
- fi
+ if rmdir /usr/share/doc/wesnoth-music 2>/dev/null; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-music
fi
fi
;;
diff --git a/debian/wesnoth-music.postinst.in b/debian/wesnoth-music.postinst.in
index ea9368b..5c558a1 100644
--- a/debian/wesnoth-music.postinst.in
+++ b/debian/wesnoth-music.postinst.in
@@ -8,10 +8,8 @@ set -e
case "$1" in
configure|reconfigure)
if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
- if [ -d /usr/share/doc/wesnoth-music ]; then
- if rmdir /usr/share/doc/wesnoth-music; then
- ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-music
- fi
+ if rmdir /usr/share/doc/wesnoth-music 2>/dev/null; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-music
fi
fi
;;
--
Debian packaging of wesnoth
More information about the Pkg-games-commits
mailing list