Add continue/cancel prompt to dconf-dump changes
This commit is contained in:
parent
1e1ee467f6
commit
aa95c7a9fe
|
@ -126,6 +126,9 @@ function getdot {
|
|||
echo "Incoming conf changes:"
|
||||
echo
|
||||
git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump
|
||||
echo
|
||||
bash -c 'read -p "Press enter to continue, or Ctrl-C to cancel."' || return 1
|
||||
echo "Applying changes..."
|
||||
fi
|
||||
dconf load / < /tmp/dconf-dump || return 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue