notification for pending updates
This commit is contained in:
parent
5c7e72c07e
commit
7c93e158a9
@ -12,7 +12,9 @@ if type md5sum &> /dev/null; then
|
|||||||
new_stub_sum="$(md5sum ~/.local/share/zeesh/zshrc-stub | awk '{ print $1 }')"
|
new_stub_sum="$(md5sum ~/.local/share/zeesh/zshrc-stub | awk '{ print $1 }')"
|
||||||
|
|
||||||
if [[ ! current_stub_sum == new_stub_sum ]]; then
|
if [[ ! current_stub_sum == new_stub_sum ]]; then
|
||||||
cp ~/.local/share/zshrc-stub ~/.zshrc
|
cp ~/.local/share/zeesh/zshrc-stub ~/.zshrc
|
||||||
_zshrc_updates_pending=1
|
_zshrc_updates_pending=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[[ _zshrc_updates_pending -eq 1 ]] && printf "zeesh: updates pending\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user