Show diff message
This commit is contained in:
parent
2b0836d477
commit
99e817e42c
|
@ -117,7 +117,12 @@ function getdot {
|
||||||
rm /tmp/dconf-dump
|
rm /tmp/dconf-dump
|
||||||
scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
|
scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
|
||||||
dconf-dump > /tmp/current-dconf-dump
|
dconf-dump > /tmp/current-dconf-dump
|
||||||
git --no-pager diff --no-index /tmp/dconf-dump /tmp/current-dconf-dump
|
if ! git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump &> /dev/null; then
|
||||||
|
echo
|
||||||
|
echo "Incoming conf changes:"
|
||||||
|
echo
|
||||||
|
git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump
|
||||||
|
fi
|
||||||
dconf load / < /tmp/dconf-dump || return 1
|
dconf load / < /tmp/dconf-dump || return 1
|
||||||
else
|
else
|
||||||
echo "An alias for scpace has not been defined on this device!"
|
echo "An alias for scpace has not been defined on this device!"
|
||||||
|
|
Loading…
Reference in New Issue