fix(user-setup): Fix justfile creation

Currently, this only gets written if the file exists. Create it when the file doesn't exist instead
This commit is contained in:
RJ Trujillo 2023-09-20 11:09:10 -06:00 committed by GitHub
parent a55954db31
commit 24ceab8e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
source /etc/default/bazzite
if [[ -f "${HOME}/.justfile" ]]; then
if [[ ! -f "${HOME}/.justfile" ]]; then
echo "!include /usr/share/ublue-os/just/custom.just" >> "${HOME}/.justfile"
fi