aboutsummaryrefslogtreecommitdiff
path: root/net/misc/icecast-kh/icecast-kh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'net/misc/icecast-kh/icecast-kh.SlackBuild')
-rwxr-xr-xnet/misc/icecast-kh/icecast-kh.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/misc/icecast-kh/icecast-kh.SlackBuild b/net/misc/icecast-kh/icecast-kh.SlackBuild
index 721ef4f6..f2e2fac7 100755
--- a/net/misc/icecast-kh/icecast-kh.SlackBuild
+++ b/net/misc/icecast-kh/icecast-kh.SlackBuild
@@ -178,7 +178,11 @@ make DESTDIR=$PKG install || exit $ERROR_INSTALL
# fi
mkdir -p $PKG/var/log/icecast
-(cd $PKG/usr/share/icecast/etc && patch -p0 < $CWD/icecast_conf.patch)
+
+if [ -f "$CWD/icecast_conf.patch" ]; then
+ (cd $PKG/usr/share/icecast/etc && patch -p0 < $CWD/icecast_conf.patch)
+ true
+fi
# --- DOCUMENTATION ---