summary refs log tree commit diff
path: root/update.sh
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2023-11-01 17:13:31 +0000
committerRory&::Emma <root@rory.gay>2023-11-01 17:13:31 +0000
commit81c753d78ed8a4d25ee5af755460af6bf9600d58 (patch)
tree3a2855a6ff2019d21c8c1d9414533cadb79437b1 /update.sh
parentUpdate nginx (diff)
downloadRory-Open-Architecture-81c753d78ed8a4d25ee5af755460af6bf9600d58.tar.xz
Updates
Diffstat (limited to '')
-rwxr-xr-xupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 6ce5622..a277a4e 100755
--- a/update.sh
+++ b/update.sh
@@ -4,9 +4,9 @@ if [ -d "nixpkgs" ]; then
     cd nixpkgs
     git remote add upstream https://github.com/NixOS/nixpkgs || git remote set-url upstream https://github.com/NixOS/nixpkgs
     git fetch --all -v
-    git rebase upstream/nixos-unstable -v
+    git rebase upstream/nixos-unstable -v && git push --force
     cd ..
 fi
 
 nix flake update
-./build.sh / $HOSTNAME
\ No newline at end of file
+./build.sh / $HOSTNAME