mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-11 06:07:06 -06:00
Remove debug echo in always ran script
This commit is contained in:
@@ -33,7 +33,6 @@ if [ -f "$FILE" ]; then
|
|||||||
FILE_ABSOLUTE=$(realpath "$FILE")
|
FILE_ABSOLUTE=$(realpath "$FILE")
|
||||||
RELATIVE_SECONDS=$(expr $EPOCHSECONDS - $(stat -c %Y -- "$FILE_ABSOLUTE"))
|
RELATIVE_SECONDS=$(expr $EPOCHSECONDS - $(stat -c %Y -- "$FILE_ABSOLUTE"))
|
||||||
|
|
||||||
echo "File exists, last downloaded $(displaytime $RELATIVE_SECONDS) ago"
|
|
||||||
if ! test "$RELATIVE_SECONDS" -lt $ONE_WEEK; then
|
if ! test "$RELATIVE_SECONDS" -lt $ONE_WEEK; then
|
||||||
echo "File is older than a week, redownloading (last downloaded $(displaytime $RELATIVE_SECONDS) ago)"
|
echo "File is older than a week, redownloading (last downloaded $(displaytime $RELATIVE_SECONDS) ago)"
|
||||||
download
|
download
|
||||||
|
|||||||
Reference in New Issue
Block a user