On 9/27/06, Bill Allombert <[EMAIL PROTECTED]> wrote:
The ejabberd postrm include the following:purge) ucf --purge $CONFIG_TARGET rm -f $CONFIG_TARGET rm -Rf /etc/ejabberd /var/log/ejabberd /var/lib/ejabberd rm -f /etc/default/ejabberd deluser ejabberd 2>/dev/null || true delgroup ejabberd 2>/dev/null || true ;; The postrm script cannot rely on ucf and adduser to be available when purging.
Well, it's easy not to use adduser (and use userdel and groupdel from passwd). But if config is managed by ucf then how can we purge it without ucf? Does it mean that ucf is unusable for config management? -- Sergei Golovan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

