forked from mirrors/nixpkgs
* Installer fixes.
svn path=/nixos/trunk/; revision=7848
This commit is contained in:
parent
ea41e46e6d
commit
b674f74c2d
|
@ -32,6 +32,7 @@ rec {
|
|||
job = "
|
||||
start on startup
|
||||
script
|
||||
export PATH=${pkgs.gnutar}/bin:${pkgs.bzip2}/bin:$PATH
|
||||
mkdir -p /etc/nixos/nixos
|
||||
tar xjf /nixos.tar.bz2 -C /etc/nixos/nixos
|
||||
tar xjf /nixpkgs.tar.bz2 -C /etc/nixos
|
||||
|
|
|
@ -28,7 +28,7 @@ if ! test -e "$mountPoint"; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! fgrep -q " $mountPoint " /proc/mounts; then
|
||||
if ! grep -F -q " $mountPoint " /proc/mounts; then
|
||||
echo "$mountPoint doesn't appear to be a mount point"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue