mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix an utterly botched attempt to convert @unexec rmdir to @dirrmtry.
Reported by: erwin, pav
This commit is contained in:
parent
c93b803b40
commit
db814b56fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274900
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= webfrontend
|
PORTNAME= webfrontend
|
||||||
PORTVERSION= 3.1.7
|
PORTVERSION= 3.1.7
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= sysutils net parallel www
|
CATEGORIES= sysutils net parallel www
|
||||||
MASTER_SITES= SF/ganglia/ganglia%20monitoring%20core/${PORTVERSION}
|
MASTER_SITES= SF/ganglia/ganglia%20monitoring%20core/${PORTVERSION}
|
||||||
PKGNAMEPREFIX= ganglia-
|
PKGNAMEPREFIX= ganglia-
|
||||||
|
@ -99,7 +99,7 @@ build-plist:
|
||||||
@${FIND} ${TMP_WEBFRONTDIR}/* -type d | \
|
@${FIND} ${TMP_WEBFRONTDIR}/* -type d | \
|
||||||
${SED} -e 's|${TMP_WEBFRONTDIR}|@dirrm %%WEBFRONTDIR%%|' | \
|
${SED} -e 's|${TMP_WEBFRONTDIR}|@dirrm %%WEBFRONTDIR%%|' | \
|
||||||
${SORT} -r >> ${PLIST}
|
${SORT} -r >> ${PLIST}
|
||||||
@${ECHO_CMD} '@dirrmtry ${RMDIR} %D/%%WEBFRONTDIR%%' >> ${PLIST}
|
@${ECHO_CMD} '@dirrmtry %%WEBFRONTDIR%%' >> ${PLIST}
|
||||||
@${ECHO_CMD} '@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true' >> ${PLIST}
|
@${ECHO_CMD} '@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true' >> ${PLIST}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -65,5 +65,5 @@
|
||||||
@dirrm %%WEBFRONTDIR%%/templates/default
|
@dirrm %%WEBFRONTDIR%%/templates/default
|
||||||
@dirrm %%WEBFRONTDIR%%/templates
|
@dirrm %%WEBFRONTDIR%%/templates
|
||||||
@dirrm %%WEBFRONTDIR%%/graph.d
|
@dirrm %%WEBFRONTDIR%%/graph.d
|
||||||
@dirrmtry rmdir %D/%%WEBFRONTDIR%%
|
@dirrmtry %%WEBFRONTDIR%%
|
||||||
@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true
|
@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true
|
||||||
|
|
Loading…
Add table
Reference in a new issue