From 89a209e4b102690f07b1045f7c16e93636b9d071 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 9 Jan 2011 18:38:17 +0000 Subject: [PATCH] re-create installation with make reset --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..407c3ee --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +all: + @echo "make reset" + +clean: + dropdb backuppc + createdb backuppc + createlang plpgsql backuppc + sudo chown backuppc cgi-bin/index.cgi + sudo chmod u+s cgi-bin/index.cgi + sudo rm -Rf /tmp/kinoindex + +update: + sudo -u backuppc ./bin/BackupPC_updatedb -c + +tar: + sudo -u backuppc ./bin/BackupPC_incPartsUpdate + +reset: clean update tar -- 2.20.1