diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 11:01:03 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 11:01:03 +0800 |
commit | e31bed690b2fba4714686b691a351a51b98d80e8 (patch) | |
tree | fb869b3f76a5b4c5a0d4932490adea12d65abd80 /net/DarwinStreamingServer | |
parent | 176655f0a1e9745862db36b0cbfab399d74d1339 (diff) | |
download | freebsd-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-plist | 8 |
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 |