Continued bash cleanup

This commit is contained in:
Jason Ertel
2020-11-15 09:57:12 -05:00
parent d22040fb5d
commit 76c917d977
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
. /usr/sbin/so-common source $(dirname $0)/so-common
if [[ $# -lt 1 || $# -gt 2 ]]; then if [[ $# -lt 1 || $# -gt 2 ]]; then
echo "Usage: $0 <list|add|update|enable|disable|validate|valemail|valpass> [email]" echo "Usage: $0 <list|add|update|enable|disable|validate|valemail|valpass> [email]"

View File

@@ -2040,7 +2040,7 @@ set_updates() {
fi fi
} }
set_version() { mark_version() {
# Drop a file with the current version # Drop a file with the current version
echo "$SOVERSION" > /etc/soversion echo "$SOVERSION" > /etc/soversion
} }

View File

@@ -454,7 +454,7 @@ if [[ $is_minion ]]; then
fi fi
{ {
set_version; mark_version;
clear_manager; clear_manager;
} >> $setup_log 2>&1 } >> $setup_log 2>&1