[Frugalware-darcs] pacman: makepkg: fixed 'preparing docs'

VMiklos vmiklos at frugalware.org
Thu Mar 16 17:47:57 CET 2006


[makepkg: fixed 'preparing docs'
VMiklos <vmiklos at frugalware.org>**20060125010120] {
hunk ./scripts/makepkg 51
+NOSTRIP=0
+NODOCS=0
hunk ./scripts/makepkg 1160
-if [ -z "`ls -1 pkg/usr/share/doc/$pkgname-$pkgver`" ]; then
-	rmdir pkg/usr/share/doc/$pkgname-$pkgver
+if [ -d pkg/usr/share/doc/$pkgname-$pkgver ]; then
+	if [ -z "`ls -1 pkg/usr/share/doc/$pkgname-$pkgver`" ]; then
+		rmdir pkg/usr/share/doc/$pkgname-$pkgver
+	fi
hunk ./scripts/makepkg 1167
-if [ -z "`ls -1 pkg/usr/share/doc`" ]; then
-	rmdir pkg/usr/share/doc
+if [ -d pkg/usr/share/doc ]; then
+	if [ -z "`ls -1 pkg/usr/share/doc`" ]; then
+		rmdir pkg/usr/share/doc
+	fi
}


More information about the Frugalware-darcs mailing list