projects
/
scripts
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
491c1bf
)
-
author
hackbard
<hackbard>
Mon, 25 Aug 2003 19:32:49 +0000
(19:32 +0000)
committer
hackbard
<hackbard>
Mon, 25 Aug 2003 19:32:49 +0000
(19:32 +0000)
backup.sh
patch
|
blob
|
history
diff --git
a/backup.sh
b/backup.sh
index
e477347
..
648fdae
100755
(executable)
--- a/
backup.sh
+++ b/
backup.sh
@@
-171,10
+171,14
@@
if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host"
# home of hackbard
mkdir -p ./home/hackbard
echo "copying home"
# home of hackbard
mkdir -p ./home/hackbard
echo "copying home"
- for i in
projects
software store; do
+ for i in software store; do
[ -d /home/hackbard/$i ] && \
cp -r /home/hackbard/$i ./home/hackbard
done
[ -d /home/hackbard/$i ] && \
cp -r /home/hackbard/$i ./home/hackbard
done
+ if [ "$host" = "hackstation" ]; then
+ [ -d /home/hackbard/projects ] && \
+ cp -r /home/hackbard/projects ./home/hackbard
+ fi
for i in xinitrc_evil xinitrc_wm .xinitrc GNUstep .Xauthority \
.Xdefaults .signature .directfbrc; do
[ -f /home/hackbard/$i ] && \
for i in xinitrc_evil xinitrc_wm .xinitrc GNUstep .Xauthority \
.Xdefaults .signature .directfbrc; do
[ -f /home/hackbard/$i ] && \