update target to run BackupPC_updatedb
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Sun, 21 Aug 2005 15:42:40 +0000 (15:42 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Sun, 21 Aug 2005 15:42:40 +0000 (15:42 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@61 8392b6e1-25fa-0310-8288-cc32f8e212ea

Makefile

index c956208..d663ebf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,9 @@ stop:
 install-etc:
        test -d $(target)/etc || cp -r etc $(target) && chmod 755 $(target)/etc/backuppc
 
+update:
+       sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb
+
 asa:
        rm -Rf $(tmp)
        svn export . $(tmp)