Rework step options handling
This commit is contained in:
@@ -17,10 +17,8 @@ step_30() {
|
||||
exep "cd \"${PIWI_DIR}\"/.. && tar czf \"${PIWI_BU_DIR}/\`date +%Y%m%d\`_${toolName}_web.tar.gz\" --exclude=\"${toolName}/network/*\" --exclude=\"${toolName}/_data/i/*\" \"$(basename "$PIWI_DIR")\""
|
||||
}
|
||||
|
||||
step_31_info() {
|
||||
echoinfoArgs "[daily|monthly(default)]"
|
||||
echo "Backup ${toolName} database"
|
||||
}
|
||||
step_31_info() { echo "Backup ${toolName} database"; }
|
||||
step_31_options() { echo "[daily|monthly(default)]"; }
|
||||
step_31_alias() { echo "backupdb"; }
|
||||
step_31() {
|
||||
case "${2:-}" in
|
||||
|
Reference in New Issue
Block a user