On Sun, Dec 02, 2007 at 12:43:30AM +0100, alessandro -oggei- ogier wrote:
> 
> postinst script fails at lines 22 and 24 because rmdir still fail if no
> dir:

I am having the same bug:

Setting up gnome-panel-data (2.20.2-1) ...
rmdir: /var/lib/gnome: No such file or directory
dpkg: error processing gnome-panel-data (--configure):
 subprocess post-installation script returned error exit status 1

> 22:   rmdir --ignore-fail-on-non-empty /etc/gnome-vfs-2.0/vfolders
> 24:   rmdir --ignore-fail-on-non-empty /var/lib/gnome
> 
> i resolved appending a ``|| true'' , it's seem sensible to me

Or use things like "if [ -d /etc/gnome-vfs-2.0/vfolders ]; then rmdir
... fi" to only attempt deleting the directory when it exists.

Ming
2007.12.01



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to