chmod 0755 "${INSTALL_ROOT}/usr/bin/${SPELL}" &&
chmod 0644 "${INSTALL_ROOT}/usr/share/applications/${SPELL}.desktop" &&

if is_depends_enabled "${SPELL}" "bash-completion"; then
  chmod 0644 "${INSTALL_ROOT}/usr/share/bash-completion/completions/${SPELL}"
fi &&

if is_depends_enabled "${SPELL}" "fish"; then
  chmod 0644 "${INSTALL_ROOT}/usr/share/fish/vendor_completions.d/${SPELL}.fish"
fi &&

if is_depends_enabled "${SPELL}" "zsh"; then
  chmod 0644 "${INSTALL_ROOT}/usr/share/zsh/site-functions/_${SPELL}"
fi
