--- cifs-utils-6.11/Makefile.am 2021-04-16 03:51:20.630902828 +0200 +++ cifs-utils-6.11/Makefile.am 2021-04-16 03:53:01.460905182 +0200 @@ -120,8 +120,8 @@ install-data-hook: (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) - (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) + (if [ -e $(DESTDIR)$(man8dir) ];then ln -sf mount.cifs.8 mount.smb3.8 ;fi) uninstall-hook: (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3) - (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8) + (if [ -e $(man8dir) ];then rm -f $(man8dir)/mount.smb3.8 ;fi)