Bug#613083: libreoffice-common: Deletes /share and /user in preinst
Hi,
On Sat, Feb 12, 2011 at 06:47:22PM +0100, Rene Engelhard wrote:
> On Sat, Feb 12, 2011 at 06:43:17PM +0100, Stefan Fritsch wrote:
> > if dpkg --compare-versions "$2" lt "1:3.3.0-3"; then
> > rm -rf /share
> > rm -rf /user
> > fi
> >
> >
> > Are you mad? You must nod delete arbitrary directories! Some people
> > store important information there.
>
> And what do people store in /share and /user?
>
> And you hopefully suggest an alternative way to me how to clean up
> those broken directories?
OK; I could rm -rf the subdirs
(sid)root@frodo:/# ls -l /user /share/
/share/:
insgesamt 4
drwxr-xr-x 2 root root 4096 12. Feb 17:53 config
/user:
insgesamt 8
drwxr-xr-x 4 root root 4096 12. Feb 17:53 extensions
drwxr-xr-x 3 root root 4096 12. Feb 17:53 uno_packages
and then find out whether the dirs and empty and then remove them.
but rm -rf'ingf /user/extensions or even more /user/config is also
something you would object against, no?
Grüße/Regards,
René
Reply to: