diff --git a/lib/filefct.sh b/lib/filefct.sh index a5c89b6..e58994e 100644 --- a/lib/filefct.sh +++ b/lib/filefct.sh @@ -9,15 +9,6 @@ # ------------------------------------------------------------------------------ -# ------------------------------------------------------------------------------ -# Define normalised time display, filename friendly -stdtime() -{ - date --rfc-3339=seconds | sed -e 's/ /-/' -e 's/://g' -} -export -f stdtime - - # ------------------------------------------------------------------------------ # Backup original installation files # (or any old files if runned several time on same file) diff --git a/lib/utils.sh b/lib/utils.sh index 125652a..de1f4a4 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -9,6 +9,15 @@ # ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ +# Define normalised time display, filename friendly +stdtime() +{ + date --rfc-3339=seconds | sed -e 's/ /-/' -e 's/://g' +} +export -f stdtime + + # ------------------------------------------------------------------------------ # Check if a function exists, return 0 if so function_exists() {