mirror of
https://github.com/iesfdlr/lab.git
synced 2026-06-06 01:16:49 +00:00
12 lines
195 B
Bash
12 lines
195 B
Bash
#!/bin/bash
|
|
|
|
echo "Actualizando el sistema..."
|
|
git pull
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "error al actualizar el repositorio, no se contunará."
|
|
exit 1
|
|
fi
|
|
|
|
nixos-rebuild switch --flake path:.#nixos
|