During testing of #221 I disabled slack notifications and missed that I didn't include the setting of $RPM_VERSION. I'm bringing it back here, otherwise the script will fail after sync and there'll be no slack message (due to set -u). In addition, I used find instead of ls because shellcheck will fail otherwise with:
SC2012: Use find instead of ls to better handle non-alphanumeric filenames.
During testing of #221 I disabled slack notifications and missed that I didn't include the setting of
$RPM_VERSION
. I'm bringing it back here, otherwise the script will fail after sync and there'll be no slack message (due toset -u
). In addition, I usedfind
instead ofls
becauseshellcheck
will fail otherwise with: