summary refs log tree commit diff stats
path: root/update.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 18:49:51 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 18:49:51 +0200
commite94e4304e9bfd64bdf934827ffdf0409c44d991c (patch)
treedc63e2dcc7a41bb2f7ac86ea08c815397cf0bc3a /update.sh
parentStyle(treewide): Format (diff)
downloadlpm-e94e4304e9bfd64bdf934827ffdf0409c44d991c.tar.gz
lpm-e94e4304e9bfd64bdf934827ffdf0409c44d991c.zip
chore(treewide): Update this project to today's standards.
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 9268caf..b34dabf 100755
--- a/update.sh
+++ b/update.sh
@@ -1,3 +1,5 @@
-#!/bin/sh
+#!/usr/bin/env sh
 
-cargo update && cargo upgrade
+nix flake update
+cargo update
+[ "$1" = "upgrade" ] && cargo upgrade