Skip to content

Commit c4e0c99

Browse files
committed
fix: Make sure nix is installed first in fleek install script
1 parent 924bead commit c4e0c99

File tree

1 file changed

+7
-3
lines changed
  • system_files/desktop/shared/usr/share/ublue-os/just

1 file changed

+7
-3
lines changed

system_files/desktop/shared/usr/share/ublue-os/just/custom.just

+7-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,13 @@ remove-nix:
5454

5555
install-fleek:
5656
#!/usr/bin/env bash
57-
mkdir -p $HOME/.config/nix
58-
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
59-
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash
57+
if [[ -d "/nix" ]]; then
58+
mkdir -p $HOME/.config/nix
59+
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
60+
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash
61+
else
62+
echo "Install nix with just install-nix before running just install-fleek."
63+
fi
6064

6165
fleek-install-themes:
6266
#!/usr/bin/env bash

0 commit comments

Comments
 (0)