/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to tools/reset

  • Committer: Tim Marston
  • Date: 2016-04-10 20:21:38 UTC
  • Revision ID: tim@ed.am-20160410202138-px3vd3r14889njtn
removed symlink previously committed

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        fi
26
26
fi
27
27
 
 
28
# check/create reset dir
 
29
if [ ! -d ~/.stdhome.dev.reset/home -a ! -d ~/.stdhome/home ]; then
 
30
        echo "No ~/.stdhome.dev/home and nothing to copy it from"
 
31
        exit 1
 
32
fi
 
33
if [ ! -d ~/.stdhome.dev.reset/home ]; then
 
34
        echo copying dev environment to initial snapshot
 
35
        rm -rf ~/.stdhome.dev.reset
 
36
        cp -a ~/.stdhome ~/.stdhome.dev.reset
 
37
fi
 
38
 
28
39
# update repo
29
40
echo updating repo snapshot
30
41
cd ~/.stdhome.dev.reset/home