OSDN Git Service

[update] : one liner
authorhayao <shun819.mail@gmail.com>
Sat, 25 Jul 2020 10:35:33 +0000 (19:35 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 25 Jul 2020 10:35:33 +0000 (19:35 +0900)
channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh

index 37da980..a5f0169 100755 (executable)
@@ -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