~sourcemage/sorcery

b1af1023c73cbca4e3a9021bc81dc367b9fee08b — Ismael Luceno 9 months ago de280f2
libtrack: Fix castfs detection
1 files changed, 4 insertions(+), 6 deletions(-)

M var/lib/sorcery/modules/libtrack
M var/lib/sorcery/modules/libtrack => var/lib/sorcery/modules/libtrack +4 -6
@@ 178,12 178,10 @@ real_devoke_installwatch()  {

is_castfs_installed()
{
  if type castfs >/dev/null 2>&1 &&
     (
       modprobe fuse > /dev/null 2>&1 ||
       grep -q '^nodev[\t\v\f\r ]*fuse$' /proc/filesystems
     ) &&
     [ -c /dev/fuse ]
  modprobe fuse >/dev/null 2>&1
  if [ -c /dev/fuse ] &&
     grep -q '^nodev	fuse$' /proc/filesystems &&
     type castfs >/dev/null 2>&1
  then
    message "${MESSAGE_COLOR}Staging enabled${DEFAULT_COLOR}"
    return 0