fix auto flake update script
This commit is contained in:
parent
ca0db6f9de
commit
e2f260f856
|
@ -6,6 +6,7 @@ let
|
|||
};
|
||||
realizeFlake = with pkgs; "${writeScriptBin "realize-flake" ''
|
||||
#! ${runtimeShell} -e
|
||||
set -x
|
||||
NAME=$1
|
||||
|
||||
if [ $NAME = "borken-data-hoarder" ]; then
|
||||
|
@ -24,8 +25,8 @@ let
|
|||
fi
|
||||
|
||||
cd /tmp
|
||||
if [ -d $DIR_DUMP_DVB ]; then
|
||||
cd $DIR_NIX_CONFG
|
||||
if [ -d $DIR_NIX_CONFIG ]; then
|
||||
cd $DIR_NIX_CONFIG
|
||||
git fetch origin
|
||||
git reset --hard origin/$BRANCH
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue