From: hayao Date: Sat, 25 Jul 2020 10:35:33 +0000 (+0900) Subject: [update] : one liner X-Git-Tag: rc3-alpha1~193^2~61^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=aec30d52fe7eb54d0d2532b8b1595cceb29e31d3;p=alterlinux%2Falterlinux.git [update] : one liner --- diff --git a/channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh b/channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh index 37da9802..a5f0169f 100755 --- a/channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh +++ b/channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh @@ -75,9 +75,7 @@ function remove () { # Delete icon cache -if [[ -f /home/${username}/.cache/icon-cache.kcache ]]; then - rm /home/${username}/.cache/icon-cache.kcache -fi +[[ -f /home/${username}/.cache/icon-cache.kcache ]] && rm /home/${username}/.cache/icon-cache.kcache if [[ "${arch}" = "x86_64" ]]; then