diff options
-rw-r--r-- | misc/fortune-mod-culmea-culmilor/Makefile.fortune | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/fortune-mod-culmea-culmilor/Makefile.fortune b/misc/fortune-mod-culmea-culmilor/Makefile.fortune index bf87d329c18d..1aab580ede3b 100644 --- a/misc/fortune-mod-culmea-culmilor/Makefile.fortune +++ b/misc/fortune-mod-culmea-culmilor/Makefile.fortune @@ -40,6 +40,6 @@ post-install: ${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O} >> ${TMPPLIST}; \ ${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O}.dat >> ${TMPPLIST}; \ fi - @${ECHO_CMD} "@dirrmtry ${_FORTUNE_DIR}" >> ${TMPPLIST} - @${ECHO_CMD} "@dirrmtry share/games" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec rmdir %D/${_FORTUNE_DIR} 2>/dev/null || true" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec rmdir %D/share/games 2>/dev/null || true" >> ${TMPPLIST} @${CAT} ${PKGMESSAGE} |