diff --git a/usr/local/share/bastille/import.sh b/usr/local/share/bastille/import.sh index 4e886df8..21d44124 100644 --- a/usr/local/share/bastille/import.sh +++ b/usr/local/share/bastille/import.sh @@ -179,7 +179,7 @@ fi # Check if archive exist then trim archive name if [ "$(ls "${bastille_backupsdir}" | awk "/^${TARGET}$/")" ]; then - TARGET_TRIM=$(echo ${TARGET} | sed "s/_[0-9]*-[0-9]*-[0-9]*-[0-9]*:[0-9]*:[0-9]*.[txz]\{2,3\}//") + TARGET_TRIM=$(echo ${TARGET} | sed "s/_[0-9]*-[0-9]*-[0-9]*-[0-9]*[0-9]*[0-9]*.[txz]\{2,3\}//") else error_notify "${COLOR_RED}Archive '${TARGET}' not found.${COLOR_RESET}" fi