postgresql-client: fix file conflict with main pkg.

This commit is contained in:
Juan RP 2015-01-23 10:29:07 +01:00
parent 33604749ed
commit 5aa2b73103

View file

@ -1,7 +1,7 @@
# Template file for 'postgresql' # Template file for 'postgresql'
pkgname=postgresql pkgname=postgresql
version=9.4.0 version=9.4.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
make_build_target="world" make_build_target="world"
configure_args="--with-openssl --with-python configure_args="--with-openssl --with-python
@ -168,6 +168,7 @@ postgresql-client_package() {
mkdir -p ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}}) mkdir -p ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}})
mv ${d} ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}}) mv ${d} ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}})
done done
vmkdir usr/share/postgresql
mv ${DESTDIR}/usr/share/postgresql/psqlrc.* \ mv ${DESTDIR}/usr/share/postgresql/psqlrc.* \
${PKGDESTDIR}/usr/share/postgresql ${PKGDESTDIR}/usr/share/postgresql
} }