diff --git a/post-inst.sh b/post-inst.sh index 7866ad6..800226d 100755 --- a/post-inst.sh +++ b/post-inst.sh @@ -208,7 +208,7 @@ chown -R ${USERNAME}:${USERNAME} /home/${USERNAME} sudo -u ${USERNAME} cp -a /etc/skel/. /home/${USERNAME} -if [[ ! -z "$(find -P /home/${USERNAME}/ | grep '\.face')" ]]; then +if [[ ! -z "\$(find -P /home/${USERNAME}/ | grep '\.face')" ]]; then find -P /home/${USERNAME}/ | grep '\.face' | xargs -d '\n' -I {} rm {} fi