diff --git a/home/bin/executable_update.sh b/home/bin/executable_update.sh index bb38cb9..0aeddf1 100644 --- a/home/bin/executable_update.sh +++ b/home/bin/executable_update.sh @@ -41,6 +41,15 @@ function appimageUpdate { am update } +# Pass Repository Updater +function passUpdate { + if [ -d "$HOME/.password-store/.git" ] && [ -d "$HOME/.password-store" ]; then + echo Updating pass repository... + cd "$HOME/.password-store" + git pull + fi +} + # Checks if a program is installed and if it is runs an updater script function updateProgram { if command -v $1 &> /dev/null; then @@ -73,4 +82,6 @@ echo '' appimageUpdate echo '' manualUpdate +echo '' +passUpdate