Ревизия для систем с postgresql

* исправлены битые ссылки настроенной postgres
mhiretskiy 1087
parent 8ff72ec4a6
commit 1959e0596c

@ -0,0 +1,19 @@
# Calculate run=/bin/bash pkg(dev-db/postgresql)!= ini(overlay-calculate.revision)<#-cut(0,-,#-cl_pass_file-#)-#
#-ini(overlay-calculate.revision,#-cut(0,-,#-cl_pass_file-#)-#)-#
#?pkg(dev-db/postgresql:9.6)!=&&pkg(dev-db/postgresql:9.5)==#
if file /usr/include/pg_config_ext.h | grep -q broken
then
rm -f /usr/lib/postgresql \
/usr/include/pg_config_ext.h \
/usr/include/pg_config_manual.h \
/usr/include/libpq-fe.h \
/usr/include/postgresql \
/usr/include/libpq \
/usr/include/postgres_ext.h
eselect postgresql set 9.6 &>/dev/null
fi
#pkg#
true
Loading…
Cancel
Save