end of refactor for now
This commit is contained in:
@@ -16,7 +16,6 @@ REMOTE_HASH=$(git rev-parse @{u})
|
||||
|
||||
if [ "$LOCAL_HASH" = "$REMOTE_HASH" ]; then
|
||||
echo "The repository is already up to date."
|
||||
exit 0
|
||||
else
|
||||
echo "Updates are available. Pulling latest changes..."
|
||||
if ! git pull; then
|
||||
@@ -29,7 +28,5 @@ chmod -R u+rwX "$REPO_DIR"
|
||||
|
||||
sudo ./update-nixos.sh
|
||||
|
||||
./update-home-manager.sh
|
||||
|
||||
echo "System update from git completed successfully."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user