aboutsummaryrefslogtreecommitdiffstats
path: root/pgaas/src/stage/opt/app/pgaas/etc/do-pre-rm.prep
diff options
context:
space:
mode:
Diffstat (limited to 'pgaas/src/stage/opt/app/pgaas/etc/do-pre-rm.prep')
-rwxr-xr-xpgaas/src/stage/opt/app/pgaas/etc/do-pre-rm.prep17
1 files changed, 0 insertions, 17 deletions
diff --git a/pgaas/src/stage/opt/app/pgaas/etc/do-pre-rm.prep b/pgaas/src/stage/opt/app/pgaas/etc/do-pre-rm.prep
deleted file mode 100755
index a03a13b..0000000
--- a/pgaas/src/stage/opt/app/pgaas/etc/do-pre-rm.prep
+++ /dev/null
@@ -1,17 +0,0 @@
-echo STARTING $0 $(date)
-
-set -x
-id
-
-if [ -d /opt/app/postgresql-9.5.2 ]
-then
- rm -f $INSTALL_ROOT/opt/app/platform/postgres/pglogs.cron
- su postgres -c "$INSTALL_ROOT/opt/app/platform/bin/mergeCron"
- rmdir $INSTALL_ROOT/opt/app/platform/postgres
- rm -f $INSTALL_ROOT/opt/app/platform/init.d/pgaas
- rm -f $INSTALL_ROOT/opt/app/platform/rc.d/K20pgaas
- rm -f $INSTALL_ROOT/opt/app/platform/rc.d/S20pgaas
-fi
-
-rm -f $INSTALL_ROOT/etc/init/pgaas-idns.conf $INSTALL_ROOT/etc/init/pgaas-init.conf
-rm -f $INSTALL_ROOT/etc/logrotate.d/pgaas