(self)
return True
Check for the existence of files installed by davfs2 package.
        If they are not found create a PMS instance and ask it what's the
        command used to install the package.
Check for the existence of files installed by davfs2 package.
        If they are not found create a PMS instance and ask it what's the
        command used to install the package.
Check for the existence of files installed by davfs2 package . If they are not found create a PMS instance and ask it what s the command used to install the package .
def check_dep_davfs(self):
        """Check for the existence of files installed by davfs2 package.
        If they are not found create a PMS instance and ask it what's the
        command used to install the package."""
        self.out.info("* Checking davfs installation...")
        for davfs_file in ['/usr/sbin/mount.davfs', '/sbin/umount.davfs', '/etc/davfs2/davfs2.conf']:
            if not os.path.isfile(davfs_file):
                self.out.error("! Davfs is not installed in your system. Please install it and re-run this application.")
                pms = get_pms()
                if pms == False: return False
                suggestion = pms.install('davfs2')
                if suggestion != False:
                    self.out.info("  You may install it using: $ sudo " + suggestion)
                return False

        self.out.info("* Congratulations. Your Davfs install is OK ;)")
        return True
        """
        * Quick setup:
        *    (as root)
        *    # gpasswd -a ${your_user} davfs2
        *    # echo 'http://path/to/dav /home/${your_user}/dav davfs rw,user,noauto  0  0' >> /etc/fstab
        *    (as user)
        *    # mkdir -p ~/dav
        *    $ mount ~/dav
        """
def check_dep_davfs ( self ) : self . out . info ( "* Checking davfs installation..." ) for davfs_file in [ '/usr/sbin/mount.davfs' , '/sbin/umount.davfs' , '/etc/davfs2/davfs2.conf' ] : if not os . path . isfile ( davfs_file ) : self . out . error ( "! Davfs is not installed in your system. Please install it and re-run this application." ) pms = get_pms ( ) if pms == False : return False suggestion = pms . install ( 'davfs2' ) if suggestion != False : self . out . info ( "  You may install it using: $ sudo " + suggestion ) return False self . out . info ( "* Congratulations. Your Davfs install is OK ;)" ) return True """
        * Quick setup:
        *    (as root)
        *    # gpasswd -a ${your_user} davfs2
        *    # echo 'http://path/to/dav /home/${your_user}/dav davfs rw,user,noauto  0  0' >> /etc/fstab
        *    (as user)
        *    # mkdir -p ~/dav
        *    $ mount ~/dav
        """