mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
10 lines
319 B
Bash
Executable file
10 lines
319 B
Bash
Executable file
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
|
|
|
# Check for changes to vcsh repositories before removing home volume
|
|
$REPO_ROOT/docker/scripts/exec.sh "vcsh status | grep -qE \"^ M \" -"
|
|
DOTFILES_CHANGED=$?
|
|
|
|
if [ "$DOTFILES_CHANGED" = "0" ]; then
|
|
echo "Resolve uncommitted dotfiles changes before recycle!"
|
|
exit 1
|
|
fi
|