New Kontact Mobile Version in Unstable
Bjoern Ricks
bjoern.ricks at intevation.de
Wed Oct 6 17:00:57 CEST 2010
Hi,
it seems that the current unstable packages contain an issue while updating
via apt-get upgrade. We are using maemo-optify to install all packages
in /opt/maemo instead of /usr to save file space. It seems that maemo-optify
causes some trouble with the current update. I am not 100% sure about the
reason therefore I would like to know if anybody didn't update yet and can
send me the output of:
ls -la /usr/share/kde4/apps/kmail-mobile
ls -la /usr/share/doc/kmail-mobile
ls -la /opt/maemo/usr/share/kde4/apps/kmail-mobile
ls -la /opt/maemo/usr/share/doc/kmail-mobile
maemo-optify adds a post install script for every package which could fail if
some files aren't available. This is an example for the postinst script in
kmail-mobile package:
optify () {
f="$1"
if [ ! -h "/$f" ]; then
# This is not atomic, but re-startable: if interrupted, doing
# this again will eventually finish with the correct result.
#
# XXX - At least that's the idea, but tar needs to be properly
# instructed to overwrite the targets.
echo >&2 "Optifying $f -> /opt/maemo/$f"
if [ -d "/$f" ]; then
(cd "/" && tar cf - "$f") | (cd "/opt/maemo/" && tar xf -)
fi
mv "/$f" "/$f.removed"
ln -s "/opt/maemo/$f" "/$f"
fi
if [ -e "/$f.removed" ]; then
rm -rf "/$f.removed"
fi
}
optify "usr/share/kde4/apps/kmail-mobile"
optify "usr/share/doc/kmail-mobile"
--
Bjoern Ricks | ++49-541-335083-167 | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-mobile/attachments/20101006/c226e6d7/attachment.sig
More information about the Kde-mobile
mailing list