File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ check_path() {
8484
8585# set up nix home manager
8686function setup_home-manager (){
87- [[ ! -d " /nix" && " $rootfs " = " ro" ]] && err " please test this on the latest focal development update"
8887 if ! check_cmd nix; then
8988 sh <( curl --proto ' =https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon --no-channel-add;
9089 . $HOME /.nix-profile/etc/profile.d/nix.sh
@@ -102,10 +101,12 @@ function setup_home-manager (){
102101function setup() {
103102 check_path;
104103 rootfstat=$( rorw) ;
104+ nixdirstat=$( rwnix) ;
105105 lsbstat=$( lsb_release -is) ;
106106 variant=$( osvariant)
107107 if [[ " $lsbstat " = " Ubuntu" ]] && [[ " $variant " == " Touch" ]];
108108 then
109+ if [[ ! " $nixdirstat " = " rw" ]]; then err " This version of $lsbstat $variant is not supported" ; fi
109110 if ! check_cmd nix; then pkgsetup; fi
110111 if ! check_cmd nix; then setup_curlxz; fi
111112 elif [[ " $rootfstat " = " rw" ]];
You can’t perform that action at this time.
0 commit comments