diff --git a/NodeChrome/chrome-cleanup.sh b/NodeChrome/chrome-cleanup.sh index 31565c8cf..10ee5d746 100755 --- a/NodeChrome/chrome-cleanup.sh +++ b/NodeChrome/chrome-cleanup.sh @@ -11,7 +11,8 @@ cleanup_stuck_chrome_processes() { cleanup_tmp_chrome_files() { echo -n "Deleting all Chrome files in /tmp... " - find /tmp -name ".com.google.Chrome.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" + + find /tmp -name "*com.google.Chrome.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" + + find /tmp -name "*org.chromium.Chromium.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" + echo "DONE." } diff --git a/NodeChromium/chrome-cleanup.sh b/NodeChromium/chrome-cleanup.sh index 5228b00d3..820061ed4 100755 --- a/NodeChromium/chrome-cleanup.sh +++ b/NodeChromium/chrome-cleanup.sh @@ -10,8 +10,8 @@ cleanup_stuck_chrome_processes() { } cleanup_tmp_chrome_files() { - echo -n "Deleting all Chrome files in /tmp... " - find /tmp -name ".com.google.Chrome.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" + + echo -n "Deleting all Chromium files in /tmp... " + find /tmp -name "*org.chromium.Chromium.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" + echo "DONE." }