aboutsummaryrefslogtreecommitdiffstats
path: root/net/DarwinStreamingServer
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
commite31bed690b2fba4714686b691a351a51b98d80e8 (patch)
treefb869b3f76a5b4c5a0d4932490adea12d65abd80 /net/DarwinStreamingServer
parent176655f0a1e9745862db36b0cbfab399d74d1339 (diff)
downloadfreebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.gz
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.zst
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'net/DarwinStreamingServer')
-rw-r--r--net/DarwinStreamingServer/pkg-plist8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/DarwinStreamingServer/pkg-plist b/net/DarwinStreamingServer/pkg-plist
index 4c7324be4788..356d8fdfb327 100644
--- a/net/DarwinStreamingServer/pkg-plist
+++ b/net/DarwinStreamingServer/pkg-plist
@@ -156,11 +156,11 @@ etc/streaming/streamingserver.xml-dist
@dirrm %%DATADIR%%/AdminHtml/images
@dirrm %%DATADIR%%/AdminHtml/html_en
@dirrm %%DATADIR%%/AdminHtml
-@unexec rmdir %D/%%DATADIR%%/movies 2>/dev/null || true
-@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
-@unexec rmdir %D/libexec/StreamingServerModules 2>/dev/null || true
+@dirrmtry %%DATADIR%%/movies
+@dirrmtry %%DATADIR%%
+@dirrmtry libexec/StreamingServerModules
@exec mkdir %D/libexec/StreamingServerModules 2>/dev/null || true
-@unexec rmdir %D/etc/streaming 2>/dev/null || true
+@dirrmtry etc/streaming
@unexec rmdir /var/spool/streaming.playlists 2>/dev/null || true
@exec mkdir /var/spool/streaming.playlists 2>/dev/null || true
@unexec rmdir /var/log/streaming 2>/dev/null || true