[Frugalware-devel] provides=('httpd') or something
VMiklos
vmiklos at frugalware.org
Fri Jun 8 10:26:36 CEST 2007
Na Fri, Jun 08, 2007 at 03:11:37AM +0200, Gabriel C <crazy at pimpmylinux.org> pisal(a):
> Not really , just 2 relbumps :P
i thought something like:
pre_upgrade:
if service enabled; then
disable service # remove symlinks, after deleting rc.old, it
# won't be possible
service was enabled = true
fi
post_upgrade:
if service was enabled; then
enable new service
fi
probably you need to create some /tmp/rc.old_was_enabled or similar file
since the values of the shell variables will be lost between calling pre
and post_upgrade
the "2 relbumps" method also works, but that requires a year ;) (2
stable releases). it would be quite ugly :)
thanks,
VMiklos
--
developer of Frugalware Linux - http://frugalware.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20070608/79310a78/attachment.bin
More information about the Frugalware-devel
mailing list