Stuff
public text v1 · immutable--- emc2.postinst 27 Jan 2007 16:19:47 -0000 1.1.2.2
+++ emc2.postinst 28 Jan 2007 21:46:28 -0000
@@ -1,8 +1,8 @@
#!/bin/sh
[ -x /etc/init.d/udev ] && /etc/init.d/udev restart
-
+if [ $HOME = "/root" ]; then HOME=$(eval echo ~$USERNAME); fi
unud=/var/lib/update-notifier/user.d
-if test -d ~/emc2/configs && test -d $unud; then
+if test -d $HOME/emc2/configs && test -d $unud; then
case $2 in
1:2.0.*)
cat <<END >$unud/emc2-configs-changed