mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
0a291a1916
News is used to read and maintain news relevant to a local system. Typically it is run from the .login script so it can automatically check for any new news items. If it finds any, it will report, "You have news: item1 item2 etc..." No website for software PR: ports/164456 Submitted by: Hokan <hokan at me.umn.edu>
7 lines
306 B
Plaintext
7 lines
306 B
Plaintext
@exec mkdir %D/news || true
|
|
@unexec cmp %D/news/news.item %D/%%EXAMPLESDIR%%/news.item.sample && rm -f %D/news/news.item || true
|
|
%%EXAMPLESDIR%%/news.item.sample
|
|
@exec if [ ! -e %D/news/news.item ]; then cp %D/%%EXAMPLESDIR%%/news.item.sample %D/news/news.item; fi
|
|
@dirrmtry news
|
|
@dirrmtry %%EXAMPLESDIR%%
|