* Check for .git instead of .svn.
svn path=/nixos/trunk/; revision=34350
This commit is contained in:
parent
a0cc181117
commit
f2a33809c1
@ -29,11 +29,11 @@ let
|
||||
# Move any old nixos or nixpkgs directories out of the way.
|
||||
backupTimestamp=$(date "+%Y%m%d%H%M%S")
|
||||
|
||||
if test -e nixos -a ! -e nixos/.svn; then
|
||||
if [ -e nixos -a ! -e nixos/.git ]; then
|
||||
mv nixos nixos-$backupTimestamp
|
||||
fi
|
||||
|
||||
if test -e nixpkgs -a ! -e nixpkgs/.svn; then
|
||||
if [ -e nixpkgs -a ! -e nixpkgs/.git ]; then
|
||||
mv nixpkgs nixpkgs-$backupTimestamp
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user