UPD: Don't install samba plugin under Mac OS X

This commit is contained in:
Alexander Koblov 2013-06-29 08:07:57 +00:00
commit ea668fec99
2 changed files with 1 additions and 3 deletions

View file

@ -28,7 +28,6 @@ mkdir -p $DC_INSTALL_DIR/plugins/wdx/deb_wdx
# WFX plugins directories
mkdir -p $DC_INSTALL_DIR/plugins/wfx
mkdir -p $DC_INSTALL_DIR/plugins/wfx/ftp
mkdir -p $DC_INSTALL_DIR/plugins/wfx/samba
# Copy files
cp -r doublecmd.app/* $DC_APP_DIR/
@ -54,7 +53,6 @@ install -m 644 plugins/wdx/deb_wdx/lib/deb_wdx.wdx $DC_INSTALL_DIR/plugins/wdx/
install -m 644 plugins/wdx/scripts/* $DC_INSTALL_DIR/plugins/wdx/scripts/
# WFX
install -m 644 plugins/wfx/ftp/lib/ftp.wfx $DC_INSTALL_DIR/plugins/wfx/ftp/
install -m 644 plugins/wfx/samba/lib/samba.wfx $DC_INSTALL_DIR/plugins/wfx/samba/
# Copy documentation
mkdir -p $DC_INSTALL_DIR/doc

View file

@ -163,7 +163,7 @@ begin
gWFXPlugins.Add('FTP', Folder + 'ftp' + PathDelim + 'ftp.wfx');
end;
{$IF DEFINED(UNIX)}
{$IF DEFINED(UNIX) AND NOT DEFINED(DARWIN)}
if gWFXPlugins.IndexOfName('Windows Network') < 0 then
begin
gWFXPlugins.Add('Windows Network', Folder + 'samba' + PathDelim + 'samba.wfx');