diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 10:30:01 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 10:30:01 +0800 |
commit | feafe637a586a81fbc65a23660b6e82c87d90f07 (patch) | |
tree | 236a81a898bb37fc1877a514deec3f6192b95260 /misc/utf8locale | |
parent | ffa6a89c602bab7fc1470e34b05dcfe64ce87369 (diff) | |
download | freebsd-ports-graphics-feafe637a586a81fbc65a23660b6e82c87d90f07.tar.gz freebsd-ports-graphics-feafe637a586a81fbc65a23660b6e82c87d90f07.tar.zst freebsd-ports-graphics-feafe637a586a81fbc65a23660b6e82c87d90f07.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'misc/utf8locale')
-rw-r--r-- | misc/utf8locale/pkg-plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/utf8locale/pkg-plist b/misc/utf8locale/pkg-plist index 870e3cc7018..8f12aca3ab9 100644 --- a/misc/utf8locale/pkg-plist +++ b/misc/utf8locale/pkg-plist @@ -1,6 +1,6 @@ share/locale/la_LN.UTF-8/LC_COLLATE share/locale/la_LN.UTF-8/LC_CTYPE @dirrm share/locale/la_LN.UTF-8 -@unexec rmdir %D/share/locale 2>/dev/null || true +@dirrmtry share/locale @exec for lang in %%LANGS%%; do ln -sf %D/share/locale/$lang.UTF-8 %%BASELOCALEDIR%%/; done @unexec for lang in %%LANGS%%; do rm -f %%BASELOCALEDIR%%/$lang.UTF-8; done |