1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Add missing pkg-install.in script.

- Fix whitespace.

Reported by:	pointyhat via kris
Pointy hat to:	self
This commit is contained in:
Florent Thoumie 2006-02-09 11:29:11 +00:00
parent fed5ed01f9
commit 8907038a1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155581
2 changed files with 8 additions and 1 deletions

View File

@ -50,7 +50,7 @@ OPTIONS= MYSQL "Use MySQL backend" on \
PGSQL "Use PostgreSQL backend" off
.if defined(PHP_VER) && ${PHP_VER} == 5
OPTIONS+= SQLITE "Use SQLite backend" off
OPTIONS+= SQLITE "Use SQLite backend" off
.endif
.include <bsd.port.pre.mk>

View File

@ -1,5 +1,7 @@
#! /bin/sh
RCUBEROOT=%%RCUBEROOT%%
case $2 in
POST-INSTALL)
@ -10,6 +12,11 @@ POST-INSTALL)
[ -f ${i} ] || cp ${i}.dist ${i}
done
;;
DEINSTALL)
for i in ${RCUBEROOT}/config/db.inc.php ${RCUBEROOT}/config/main.inc.php; do
if cmp -s ${i} ${i}.dist; then rm ${i}; fi
done
;;
*)
exit 1
;;