OSDN Git Service

[update] : Use remove function
authorhayao <shun819.mail@gmail.com>
Thu, 8 Oct 2020 06:23:57 +0000 (15:23 +0900)
committerhayao <shun819.mail@gmail.com>
Thu, 8 Oct 2020 06:23:57 +0000 (15:23 +0900)
channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh

index 588e5b4..18ba837 100755 (executable)
@@ -73,7 +73,7 @@ function remove () {
 
 
 # Delete icon cache
-[[ -f /home/${username}/.cache/icon-cache.kcache ]] && rm /home/${username}/.cache/icon-cache.kcache
+remove "/home/${username}/.cache/icon-cache.kcache"
 
 
 if [[ "${arch}" = "x86_64" ]]; then