[Debian-hebrew-package] r592 - /pkg/user-he/trunk/scripts/hebrew-settings

baruch at users.alioth.debian.org baruch at users.alioth.debian.org
Mon Jun 18 13:42:26 UTC 2007


Author: baruch
Date: Mon Jun 18 13:42:26 2007
New Revision: 592

URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=592
Log:
Return a lost if clause.
Remove hack for running postinst scripts, they work directly now.

Modified:
    pkg/user-he/trunk/scripts/hebrew-settings

Modified: pkg/user-he/trunk/scripts/hebrew-settings
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/user-he/trunk/scripts/hebrew-settings?rev=592&op=diff
==============================================================================
--- pkg/user-he/trunk/scripts/hebrew-settings (original)
+++ pkg/user-he/trunk/scripts/hebrew-settings Mon Jun 18 13:42:26 2007
@@ -54,6 +54,7 @@
 		echo "Done."
 	else
 		echo "Unchanged."
+	fi
 else
 	echo "Not installed."
 fi
@@ -79,12 +80,7 @@
 __END__
 	fi
 
-	# FIXME: for some reason the postinst scripts work better from this dir,
-	# this is why I copy and delete them :(.
-	cp /var/lib/dpkg/info/locales.postinst ./locales.postinst.$$
-	sh ./locales.postinst.$$ configure
-	rm ./locales.postinst.$$
-
+	sh /var/lib/dpkg/info/locales.postinst configure
 	echo "Done."
 else
 	echo "Not installed."
@@ -95,12 +91,7 @@
 # reconfigure locales
 echo "Reconfigure the gdm package..."
 if [ -e /var/lib/dpkg/info/gdm.postinst ]; then
-	# FIXME: for some reason the postinst scripts work better from this dir,
-	# this is why I copy and delete them :(.
-	cp /var/lib/dpkg/info/gdm.postinst ./gdm.postinst.$$
-	sh ./gdm.postinst.$$ configure
-	rm ./gdm.postinst.$$
-
+	sh /var/lib/dpkg/info/gdm.postinst configure
 	echo "Done."
 else
 	echo "Not installed."
@@ -118,11 +109,7 @@
 
 __END__
 
-	# FIXME: for some reason the postinst scripts work better from this dir,
-	# this is why I copy and delete them :(.
-	cp /var/lib/dpkg/info/xserver-xorg.postinst ./xserver-xorg.postinst.$$
-	sh ./xserver-xorg.postinst.$$ configure
-	rm ./xserver-xorg.postinst.$$
+	sh /var/lib/dpkg/info/xserver-xorg.postinst configure
 
 	# Set keyboard for current session
 	setxkbmap -option grp:switch,grp:alt_shift_toggle -layout us,il -variant lyx




More information about the Debian-hebrew-package mailing list