]> arthur.barton.de Git - ax-linux.git/commitdiff
Remove "bup-save-user", it now lives in the "ax-unix" project
authorAlexander Barton <alex@barton.de>
Wed, 28 May 2014 10:42:21 +0000 (12:42 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 28 May 2014 10:42:21 +0000 (12:42 +0200)
"bup-save-user" isn't linux specific, so move it to the "ax-unix" project.

Makefile
bup/Makefile [deleted file]
bup/save-user/Makefile [deleted file]
bup/save-user/bup-save-user [deleted file]

index 0d50740d73d3011578a28fd079154b9730413534..548a3c00673f3cb12be9dc2fadc11e6e63884aaa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,6 @@
 # (at your option) any later version.
 #
 
 # (at your option) any later version.
 #
 
-SUBDIRS = btrfs bup lvm
+SUBDIRS = btrfs lvm
 
 include Makefile.ax
 
 include Makefile.ax
diff --git a/bup/Makefile b/bup/Makefile
deleted file mode 100644 (file)
index ad0cabb..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# ax-linux: Alex' Linux Tools & Scripts
-# Copyright (c)2013 Alexander Barton (alex@barton.de)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-
-SUBDIRS = save-user
-
-include ../Makefile.ax
diff --git a/bup/save-user/Makefile b/bup/save-user/Makefile
deleted file mode 100644 (file)
index b079868..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# ax-linux: Alex' Linux Tools & Scripts
-# Copyright (c)2013-2014 Alexander Barton (alex@barton.de)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-
-ALL = bup-save-user
-
-include ../../Makefile.ax
-
-install-local: bup-save-user
-       install -d -o $(USER) -g $(GROUP) -m 755 \
-        $(DESTDIR)$(PREFIX)/bin
-       install -p -o $(USER) -g $(GROUP) -m 755 bup-save-user \
-        $(DESTDIR)$(PREFIX)/bin/bup-save-user
diff --git a/bup/save-user/bup-save-user b/bup/save-user/bup-save-user
deleted file mode 100755 (executable)
index e341ca8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# bup-save-user -- Save user data using bup(1)
-# Copyright (c)2013-2014 Alexander Barton (alex@barton.de)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-
-NAME=`basename "$0"`
-
-Usage()
-{
-       echo "Usage: $NAME"; echo
-       exit 1
-}
-
-[ $# -eq 0 ] || Usage
-
-if [ ! -d "$HOME/.bup" ]; then
-       echo "$NAME: \"$HOME/.bup\" does not exist. Initialite it first!"
-       exit 1
-fi
-
-paths="$HOME"
-[ -n "$LOCAL_HOME" -a "$LOCAL_HOME" != "$HOME" -a -d "$LOCAL_HOME" ] \
-       && paths="$paths $LOCAL_HOME"
-[ -d "/var/spool/mail/$LOGNAME" ] \
-       && paths="$paths /var/spool/mail/$LOGNAME"
-
-set -x
-
-bup index --update --xdev --exclude-rx="/.cache/." $paths || exit 1
-
-bup save --name "$LOGNAME" $paths
-exit_code=$?
-
-bup ls "$LOGNAME" || exit 1
-
-exit $exit_code