From 754c27aa94fd3281d29b053f3746f3fb27e9d41d Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 15 Jun 2010 14:13:28 -0400 Subject: remove restore_type. just call it generic 'data'. the user should know what they're restoring. --- squashfu | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/squashfu b/squashfu index cf63eb6..f4f72ee 100755 --- a/squashfu +++ b/squashfu @@ -354,8 +354,6 @@ action_restore () { die "Target not found: '$1'" fi - local restore_type=$(stat -c %F ${results[0]}) - info "Found $(basename $1) in the following backups:" [[ -n ${snaps[0]} ]] && printf " 0\t%s\n" "$(date --date=@${snaps[0]})" for result in "${results[@]}"; do @@ -387,7 +385,7 @@ action_restore () { else rsync -a "$UNION_MOUNT/$1" "$restore_name"; fi - } && info "Your ${restore_type##regular } has been restored as $restore_name" + } && info "Your data has been restored as: '$restore_name'" unmount_all -- cgit v1.2.3