fluxer/Customizer — Issue #1: minor issue with the hook
Author: kerroncheddie
Created: 2011-12-14 08:31:13+00:00
State: open

if [ ! -e "$HOOK" ];then
ERROR_MESSAGE "The hook files doesn't exists"
else
cp -f "$HOOK" "$WORK_DIR/FileSystem/tmp/HOOK"
fi

__allow_local_X_access__
__mount_sys__
__mount_dbus__

__chroot__ "chmod +x /tmp/HOOK
bin/sh /tmp/HOOK"

__umount_sys__
__recursive_umount__
__block_local_X_access__

and there is no need for basename