https://bugs.documentfoundation.org/show_bug.cgi?id=93758
Bug ID: 93758
Summary: distro-install-desktop-integration uses non portable
rmdir and possibly erroneous presumption of
INSTALLDIRNAME
Product: Document Liberation Project
Version: unspecified
Hardware: Other
OS: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
here:
>124 # we do not want some stuff from the plain packages
>
>125 if test -d $DESTDIR/opt ; then
>
>126 rm -f $DESTDIR/opt/$INSTALLDIRNAME
>
>127 rmdir --ignore-fail-on-non-empty $DESTDIR/opt
>
>128 fi
I see two issues:
1) why the presumption of the subdirectory $DESTDIR/opt?
also, $INSTALLDIRNAME should perhaps be $INSTALLDIR in this context
2) non portable use of rmdir (gnu rmdir)
perhaps `rmdir -p $DESTDIR/$INSTALLDIR 2>/dev/null'
after adapting the previous lines
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs