]> git.donarmstrong.com Git - lilypond.git/blobdiff - debian/lilypond-data.postinst
Ignore non-empty /usr/share/lilypond in postinst (Closes: #737505)
[lilypond.git] / debian / lilypond-data.postinst
index 18394fdb7c6dff6994d116a52c6c22c6d8dfc138..124178e73955fd2242a80256b08f67f07cdb340b 100644 (file)
@@ -25,7 +25,7 @@ mktexlsr $TEXMFMAIN
 
 if [ "$1" = "configure" ]; then
     if [ -d /usr/share/info/lilypond ] && [ ! -L /usr/share/info/lilypond ] \
-       && rmdir /usr/share/lilypond; then
+       && rmdir --ignore-fail-on-non-empty /usr/share/lilypond; then
        (cd /usr/share/info; ln -s ../doc/lilypond/html/Documentation/user/ lilypond;)
     fi;
 fi;