[Pkg-utopia-commits] r146 - packages/hal/trunk/debian

Sjoerd Simons sjoerd@haydn.debian.org
Wed, 22 Dec 2004 13:53:25 -0700


Author: sjoerd
Date: 2004-12-22 13:53:21 -0700 (Wed, 22 Dec 2004)
New Revision: 146

Modified:
   packages/hal/trunk/debian/hal.postinst
Log:
Redo indenting

Modified: packages/hal/trunk/debian/hal.postinst
===================================================================
--- packages/hal/trunk/debian/hal.postinst	2004-12-19 19:41:35 UTC (rev 145)
+++ packages/hal/trunk/debian/hal.postinst	2004-12-22 20:53:21 UTC (rev 146)
@@ -42,36 +42,34 @@
 }
 
 case "$1" in
-    configure)
-	adduser --quiet --system --home /var/run/hal \
-    --gecos "Hardware abstraction layer" --group hal
-  # be sure the run dir is owned by the hal user
-  chown hal.hal /var/run/hal 2>/dev/null || true
-  # be sure that hal has access to cdrom and floppy devices.
-  adduser --quiet hal floppy
-  adduser --quiet hal cdrom
+  configure)
+    adduser --quiet --system --home /var/run/hal \
+      --gecos "Hardware abstraction layer" --group hal
+    # be sure the run dir is owned by the hal user
+    chown hal.hal /var/run/hal 2>/dev/null || true
+    # be sure that hal has access to cdrom and floppy devices.
+    adduser --quiet hal floppy
+    adduser --quiet hal cdrom
 
-	if [ -f /etc/init.d/hal ]; then
-		# handle upgrades
-		mv /etc/init.d/hal /etc/dbus-1/event.d/
-		update-rc.d hal remove
-	fi
-  if [ -x ${UDEVSEND} ] ; then
-    do_udev;
-  fi
+    if [ -f /etc/init.d/hal ]; then
+      # handle upgrades
+      mv /etc/init.d/hal /etc/dbus-1/event.d/
+      update-rc.d hal remove
+    fi
+   if [ -x ${UDEVSEND} ] ; then
+     do_udev;
+   fi
 
-  if [ -x /etc/init.d/dbus-1 ]; then
-   	invoke-rc.d dbus-1 restart || true
-  fi
-    ;;
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
+   if [ -x /etc/init.d/dbus-1 ]; then
+     invoke-rc.d dbus-1 restart || true
+   fi
+  ;;
+  abort-upgrade|abort-remove|abort-deconfigure)
+  ;;
+  *)
+    echo "postinst called with unknown argument \`$1'" >&2
+    exit 1
+  ;;
 esac
 
 # dh_installdeb will replace this with shell code automatically