X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=blobdiff_plain;f=debian%2Frules;h=f558a14689bfe82f9bc2a5159397505f87cd89d1;hp=a809b3a447796ff83b0d419dbf84929882e9a04a;hb=606fb6a2a94fee7959f5c6ffed718959e39d7cd8;hpb=72f04cad91d4694ce0254a5fe831d42c5fb55e21 diff --git a/debian/rules b/debian/rules index a809b3a..f558a14 100755 --- a/debian/rules +++ b/debian/rules @@ -60,7 +60,11 @@ install-stamp: # As this is a architecture dependent package, we are not # supposed to install stuff to /usr/share. MakeMaker creates # the dirs, we delete them from the deb: - rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + # For some reason, the next line doesn't work properly under + # Ubuntu 5.10. No time to figure it out, we'll just use -f + # instead for now. + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 || echo "Ignoring rmdir failure" touch install-stamp