Files
m2110/bash/fetch-with-restore-shelve.sh

7 lines
211 B
Bash
Executable File

#!/bin/bash
set -eu pipefail
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
REPO_ROOT="${SCRIPT_DIR}/.."
cd "${REPO_ROOT}" || exit 1
pakku fetch --shelve && mv .pakku/shelve/* mods/