diff options
Diffstat (limited to 'net/misc')
-rwxr-xr-x | net/misc/icecast-kh/icecast-kh.SlackBuild | 6 | ||||
-rwxr-xr-x | net/misc/icecast/icecast.SlackBuild | 5 |
2 files changed, 9 insertions, 2 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 --- diff --git a/net/misc/icecast/icecast.SlackBuild b/net/misc/icecast/icecast.SlackBuild index 6c8711fe..471e863f 100755 --- a/net/misc/icecast/icecast.SlackBuild +++ b/net/misc/icecast/icecast.SlackBuild @@ -183,8 +183,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 --- |