diff options
author | Cy Schubert <cy@FreeBSD.org> | 2020-08-13 13:46:33 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2020-08-13 13:46:33 +0000 |
commit | 2afc11fe92dc827cce96b5afc43265521a70b971 (patch) | |
tree | 1aa211b898cddcd70d9eefd501f6baf3d05534d6 /security/tripwire/files/pkg-deinstall.in | |
parent | 7870d88ad134dfc15ea0508f1c58bb48c552f445 (diff) |
MFH: r544738
pkg delete tripwire results in an infinite loop due to it askking
whether to retain the tripwrie databse or not. The resolution is
to notify the user to manually remove the tripwrie database if it
is not longer needed. (Packaging bugfix.)
Approved by: portmgr (joneum)
Notes
Notes:
svn path=/branches/2020Q3/; revision=544811
Diffstat (limited to 'security/tripwire/files/pkg-deinstall.in')
-rw-r--r-- | security/tripwire/files/pkg-deinstall.in | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/security/tripwire/files/pkg-deinstall.in b/security/tripwire/files/pkg-deinstall.in index 3f931d83f1a9..fa7bcb05b856 100644 --- a/security/tripwire/files/pkg-deinstall.in +++ b/security/tripwire/files/pkg-deinstall.in @@ -6,25 +6,7 @@ POST-DEINSTALL) return 0 fi if [ -d %%TWCFG%% -o -d %%TWDB%% ]; then - unset ANS - echo - while [ -z "$ANS" ]; do - echo If permanently deleting this package, - echo %%TWCFG%% and %%TWDB%% may be removed. - echo Do you wish to delete %%TWCFG%% - echo -n and %%TWDB%%? '(yes/no) -: ' - read ANS - case $ANS in - [Yy]|[Yy][Ee][Ss]) - rm -rf %%TWCFG%% %%TWDB%% - ;; - [Nn]|[Nn][Oo]) - ;; - *) echo Answer must be yes or no. - echo - unset ANS - ;; - esac - done + echo If permanently deleting this package, + echo %%TWCFG%% and %%TWDB%% may be removed. fi esac |