Skip to content

Commit 6f2685d

Browse files
committed
qtplasmac: remove link creation from migration tool
1 parent b0c39e3 commit 6f2685d

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/emc/usr_intf/qtplasmac/qtplasmac-plasmac2qt.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ def __init__(self, parent=None):
4848
self.mode = ''
4949
self.iniIn = ''
5050
if 'usr' in self.appPath:
51-
self.commonPath = '/usr/share/doc/linuxcnc/examples/sample-configs/by_machine/qtplasmac/qtplasmac'
5251
self.simPath = '/usr/share/doc/linuxcnc/examples/sample-configs/by_machine/qtplasmac'
5352
else:
54-
self.commonPath = self.appPath.replace('bin', 'configs/by_machine/qtplasmac/qtplasmac')
5553
self.simPath = self.appPath.replace('bin', 'configs/by_machine/qtplasmac')
5654
self.setFixedWidth(600)
5755
self.setFixedHeight(400)
@@ -302,16 +300,6 @@ def convert_pressed(self):
302300
COPY('{}/backups/{}'.format(oldDir, filename), '{}/backups/{}'.format(newDir, filename))
303301
except:
304302
pass
305-
# CREATE LINK TO QTPLASMAC COMMON FILES
306-
try:
307-
os.symlink(self.commonPath , '{}/qtplasmac'.format(newDir))
308-
except:
309-
msg = 'Could not link to Common directory: '
310-
msg += '{}\n'.format(self.commonPath)
311-
msg += '\nConversion cannot continue'
312-
self.dialog_ok('LINK ERROR', msg)
313-
self.fromFile.setFocus()
314-
return
315303
# COPY HAL FILES
316304
halFiles = []
317305
oldPostguiFile = None

0 commit comments

Comments
 (0)