Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=51dea772968a4dbe71f4a16538b3a3bd55f9e201
commit 51dea772968a4dbe71f4a16538b3a3bd55f9e201 Author: Miklos Vajna <vmik...@frugalware.org> Date: Mon May 31 12:21:46 2010 +0200 kde.sh: don't try to split non-existing docs diff --git a/source/include/kde.sh b/source/include/kde.sh index 1b50a82..d0492b7 100644 --- a/source/include/kde.sh +++ b/source/include/kde.sh @@ -206,7 +206,7 @@ KDE_project_install() ## install the package make -C "$1" DESTDIR="$Fdestdir" install || Fdie ## install the documentation - if __kde_in_array "$pkgname-docs" "${subpk...@]}"; then + if __kde_in_array "$pkgname-docs" "${subpk...@]}" && [ -d $Fdestdir/usr/share/doc ]; then # documentation is in $pkgname-docs so ... Fsplit "$pkgname-docs" usr/share/doc else @@ -384,7 +384,7 @@ KDE_install() { make DESTDIR="$Fdestdir" install || Fdie - if __kde_in_array "$pkgname-docs" "${subpk...@]}"; then + if __kde_in_array "$pkgname-docs" "${subpk...@]}"&& [ -d $Fdestdir/usr/share/doc ]; then Fsplit "$pkgname-docs" usr/share/doc fi _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git