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:
parent
fed5ed01f9
commit
8907038a1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155581
@ -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>
|
||||
|
@ -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
|
||||
;;
|
Loading…
Reference in New Issue
Block a user