|
|
@ -139,4 +139,11 @@ for script in /etc/myc-update/post.d/*.sh; do |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
if [[ -n "$(find /tmp -maxdepth 1 -type f -wholename /tmp/launch_opts-\* -ctime +3 -print -quit)" ]]; then |
|
|
|
Wrap -d "Cleaning spurious /tmp/launch_opts-*" <<EOF || exit 1 |
|
|
|
find /tmp -maxdepth 1 -type f -wholename /tmp/launch_opts-\* -ctime +3 -delete |
|
|
|
EOF |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
printf "Update finished ${GREEN}successfully${NORMAL} ${GRAY}(in %.2fs)${NORMAL}.\n" "$((SECONDS - start))" |