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 "Incoming conf changes:"
|
||||||
echo
|
echo
|
||||||
git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump
|
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
|
fi
|
||||||
dconf load / < /tmp/dconf-dump || return 1
|
dconf load / < /tmp/dconf-dump || return 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue