From 62549d8bde584228799cfc302ff6f67523c50481 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 6 Jan 2009 11:12:29 +0000 Subject: Fix rapid-client deb generation and removal: * Re-add /var/lib/rapid-tunneling . Add a placeholder file to keep it. * Fix user generation in postinst to not try again. * Delete user's home directory and remove user on purge. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6555 283159da-0705-0410-b60c-f2062b4bb6ad --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 988aa0b..5d0e520 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SPEC = rapid-tunneling.spec SCRIPTS = rapid-tunneling rapid-tunneling-status rtadm rt-from-remote CONFIGS = rtadm.config sshd_support_config support_env INIT_D = sshd_support -SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) +SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) .placeholder SBINDIR = /usr/sbin BINDIR = /usr/share/rapid-tunneling/bin @@ -51,6 +51,8 @@ install: install -m 644 rtadm.config $(DESTDIR)/etc/rapid-tunneling/rtadm install -m 755 -d $(DESTDIR)/etc/ssh install -m 644 sshd_support_config $(DESTDIR)/etc/ssh/ + install -m 755 -d $(DESTDIR)/var/lib/rapid-tunneling + install -m 644 .placeholder $(DESTDIR)/var/lib/rapid-tunneling/ .PHONY: clean dummy dummy: -- cgit v1.2.3