Fix deinstallation.

PR:		ports/69282
Submitted by:	Hideyuki KURASHINA (rushani@)
Approved by:	maintainer timeout (cy's busy in RL)
This commit is contained in:
Volker Stolz 2004-08-30 08:06:56 +00:00
parent bedd96759b
commit 4770a76d34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117634
2 changed files with 4 additions and 4 deletions

View file

@ -16,9 +16,9 @@ bin/screen
%%DATADIR%%/utf8encodings/cc %%DATADIR%%/utf8encodings/cc
%%DATADIR%%/utf8encodings/cd %%DATADIR%%/utf8encodings/cd
%%DATADIR%%/utf8encodings/d6 %%DATADIR%%/utf8encodings/d6
@unexec if cmp -s %D/etc/screenrc %%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi @unexec if cmp -s %D/etc/screenrc %D/%%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
%%EXAMPLESDIR%%/screenrc %%EXAMPLESDIR%%/screenrc
@exec [ -f %B/screenrc ] || cp %B/%f %B/screenrc @exec [ -f %D/etc/screenrc ] || cp %B/%f %D/etc/screenrc
@dirrm %%EXAMPLESDIR%% @dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%/utf8encodings @dirrm %%DATADIR%%/utf8encodings
@dirrm %%DATADIR%% @dirrm %%DATADIR%%

View file

@ -16,9 +16,9 @@ bin/screen
%%DATADIR%%/utf8encodings/cc %%DATADIR%%/utf8encodings/cc
%%DATADIR%%/utf8encodings/cd %%DATADIR%%/utf8encodings/cd
%%DATADIR%%/utf8encodings/d6 %%DATADIR%%/utf8encodings/d6
@unexec if cmp -s %D/etc/screenrc %%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi @unexec if cmp -s %D/etc/screenrc %D/%%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
%%EXAMPLESDIR%%/screenrc %%EXAMPLESDIR%%/screenrc
@exec [ -f %B/screenrc ] || cp %B/%f %B/screenrc @exec [ -f %D/etc/screenrc ] || cp %B/%f %D/etc/screenrc
@dirrm %%EXAMPLESDIR%% @dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%/utf8encodings @dirrm %%DATADIR%%/utf8encodings
@dirrm %%DATADIR%% @dirrm %%DATADIR%%