Skip to content

Commit

Permalink
just: Some more linting fixes pt. 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar committed Nov 3, 2024
1 parent 4327f09 commit 431deb7
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions files/justfiles/gidro-os.just
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Update system & flatpaks

alias upgrade := update

# Update system & flatpaks
update:
#!/usr/bin/env bash
echo "System update section"
Expand Down Expand Up @@ -31,10 +30,9 @@ changelog:
echo ""
flatpak --user history
# Turn automatic updates on or off

alias toggle-upgrades := toggle-updates

# Turn automatic updates on or off
toggle-updates ACTION="prompt":
#!/usr/bin/env bash
source /usr/lib/ujust/ujust.sh
Expand Down Expand Up @@ -70,21 +68,19 @@ toggle-updates ACTION="prompt":
fi
fi
# Update device firmware

alias upgrade-firmware := update-firmware

# Update device firmware
[no-exit-message]
update-firmware:
#!/usr/bin/env bash
fwupdmgr refresh --force
fwupdmgr get-updates
fwupdmgr update
# Boot into this device's UEFI screen

alias uefi := bios

# Boot into this device's UEFI screen
bios:
#!/usr/bin/env bash
if [[ "$(bootctl reboot-to-firmware)" == "supported" ]]; then
Expand Down

0 comments on commit 431deb7

Please sign in to comment.