r22795 - in /desktop/experimental/sabayon/debian: changelog sabayon.postinst sabayon.postrm
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Thu Jan 14 20:25:16 UTC 2010
Author: dktrkranz
Date: Thu Jan 14 20:25:15 2010
New Revision: 22795
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=22795
Log:
Move profiles to new location
Modified:
desktop/experimental/sabayon/debian/changelog
desktop/experimental/sabayon/debian/sabayon.postinst
desktop/experimental/sabayon/debian/sabayon.postrm
Modified: desktop/experimental/sabayon/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/sabayon/debian/changelog?rev=22795&op=diff
==============================================================================
--- desktop/experimental/sabayon/debian/changelog [utf-8] (original)
+++ desktop/experimental/sabayon/debian/changelog [utf-8] Thu Jan 14 20:25:15 2010
@@ -9,8 +9,9 @@
- Install upstream manpages.
* debian/post{inst,rm}:
- Invoke adduser to create a system user/group (Closes: #487966).
-
- -- Luca Falavigna <dktrkranz at debian.org> Thu, 14 Jan 2010 21:09:08 +0100
+ - Move profiles to new locations.
+
+ -- Luca Falavigna <dktrkranz at debian.org> Thu, 14 Jan 2010 21:24:56 +0100
sabayon (2.28.1-1) experimental; urgency=low
Modified: desktop/experimental/sabayon/debian/sabayon.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/sabayon/debian/sabayon.postinst?rev=22795&op=diff
==============================================================================
--- desktop/experimental/sabayon/debian/sabayon.postinst [utf-8] (original)
+++ desktop/experimental/sabayon/debian/sabayon.postinst [utf-8] Thu Jan 14 20:25:15 2010
@@ -1,6 +1,12 @@
#!/bin/sh
set -e
+
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 2.29.5-1; then
+ [ -d /etc/sabayon/profiles ] || mkdir -p /etc/sabayon/profiles
+ mv /etc/desktop-profiles/*.xml /etc/sabayon || true
+ mv /etc/desktop-profiles/*.zip /etc/sabayon/profiles || true
+fi
if [ "$1" = "configure" ] ; then
if [ -x /usr/sbin/adduser ] ; then
Modified: desktop/experimental/sabayon/debian/sabayon.postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/sabayon/debian/sabayon.postrm?rev=22795&op=diff
==============================================================================
--- desktop/experimental/sabayon/debian/sabayon.postrm [utf-8] (original)
+++ desktop/experimental/sabayon/debian/sabayon.postrm [utf-8] Thu Jan 14 20:25:15 2010
@@ -4,6 +4,7 @@
if [ "$1" = "purge" ] ; then
if [ -x /usr/sbin/deluser ] ; then
+ rm -fr /etc/sabayon
deluser --remove-home --remove-all-files sabayon-admin
deluser --group sabayon-admin
fi
More information about the pkg-gnome-commits
mailing list