[maemo-commits] [maemo-commits] r17634 - in projects/haf/trunk/osso-app-killer: . debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 11 16:40:22 EET 2009
Author: schulhof
Date: 2009-03-11 16:40:11 +0200 (Wed, 11 Mar 2009)
New Revision: 17634

Added:
   projects/haf/trunk/osso-app-killer/.osso-cud-scripts/
   projects/haf/trunk/osso-app-killer/osso-cud-scripts/
   projects/haf/trunk/osso-app-killer/osso-rfs-scripts/
Modified:
   projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install
   projects/haf/trunk/osso-app-killer/debian/postinst
Log:
Applying /etc/skel -related changes

Modified: projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install
===================================================================
--- projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install	2009-03-11 11:57:41 UTC (rev 17633)
+++ projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install	2009-03-11 14:40:11 UTC (rev 17634)
@@ -1,2 +1,5 @@
 *.sh /usr/sbin
 ../osso-app-killer.sudoers /etc/sudoers.d
+../osso-rfs-scripts /etc
+../osso-cud-scripts /etc
+../.osso_cud_scripts /etc/skel

Modified: projects/haf/trunk/osso-app-killer/debian/postinst
===================================================================
--- projects/haf/trunk/osso-app-killer/debian/postinst	2009-03-11 11:57:41 UTC (rev 17633)
+++ projects/haf/trunk/osso-app-killer/debian/postinst	2009-03-11 14:40:11 UTC (rev 17634)
@@ -15,40 +15,6 @@
 # the debian-policy package
 #
 
-TGT=''
-if [ -e /targets/links/scratchbox.config ]; then
-  . /targets/links/scratchbox.config
-  TGT=$SBOX_TARGET_DIR
-fi
-
-USER=user
-GROUP=users
-HOME="$TGT/home/$USER"
-
-case "$1" in
-    configure)
-      if [ ! -e $HOME/.osso-cud-scripts ]; then
-        mkdir $HOME/.osso-cud-scripts
-        chown $USER.$GROUP $HOME/.osso-cud-scripts
-      fi
-      if [ ! -e /etc/osso-cud-scripts ]; then
-        mkdir /etc/osso-cud-scripts
-      fi
-      if [ ! -e /etc/osso-rfs-scripts ]; then
-        mkdir /etc/osso-rfs-scripts
-      fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
 if [ -x /usr/sbin/update-sudoers ]; then
         /usr/sbin/update-sudoers
 fi


More information about the maemo-commits mailing list