We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb6991 commit 48612d2Copy full SHA for 48612d2
lib/setupfunc
@@ -102,6 +102,7 @@ function setup_home-manager (){
102
function setup() {
103
check_path;
104
rootfstat=$(rorw);
105
+ lsbstat=$(lsb_release -is);
106
if [[ "$rootfstat" = "rw" ]];
107
then
108
if check_cmd apt;
@@ -113,9 +114,12 @@ function setup() {
113
114
else
115
err 'only debian based systems are currently supported';
116
fi
- else
117
+ elif [[ "$lsbstat" = "Ubuntu" ]];
118
+ then
119
if ! check_cmd nix; then pkgsetup; fi
120
if ! check_cmd nix; then setup_curlxz; fi
121
+ else
122
+ err "$lsbstat is currently not supported";
123
124
setup_home-manager;
125
if [ -d $APTCACHE ]; then pkgunset; fi
0 commit comments