Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
hotfix for file permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Jul 20, 2016
1 parent 367b0b5 commit 4b7b04d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dist/antergos-iso
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ hotfix_maybe_update() {
}


_hotfix_checkupdates_requires_fakeroot() {
pac -S fakeroot
_hotfix_ckbcomp_script_file_permissions() {
chmod +x /usr/share/cnchi/scripts/ckbcomp
}


Expand All @@ -172,17 +172,17 @@ hotfix_run_when_connected() {
sudo modprobe -a spl zfs
fi

_hotfix_checkupdates_requires_fakeroot
_hotfix_ckbcomp_script_file_permissions

local CHECK_UPDATES
CHECK_UPDATES=$(sudo checkupdates)

if [[ "${CHECK_UPDATES}" = *'cnchi'* ]]; then
notify_user "${INSTALLING_UPDATES}" "${INSTALLING_UPDATES_SUB}"
stop_cnchi
pac -S cnchi && { LEVEL='normal' _notify_user "${UPDATE_COMPLETE}" "${UPDATE_COMPLETE_SUB}"; }
pac -S cnchi && { _notify_user "${UPDATE_COMPLETE}" "${UPDATE_COMPLETE_SUB}"; }
else
LEVEL='normal' notify_no_updates
notify_no_updates
fi

[[ -f /tmp/.setup-running ]] || start_cnchi
Expand Down

0 comments on commit 4b7b04d

Please sign in to comment.