In my script I have a section that place a keyboard shortcut:
#!/usr/bin/perl
################################################################################
#
# Create Desktop shortcut for Swedish Menu Commands Document
#
################################################################################
$swedishKeyboardDocPath1 = $APPSUPPORT_PATH."/Finale Extra/PrintMusic 2014 Menykommandon.pdf";
$swedishKeyboardShortcut1 = $ENV{"HOME"}."/Desktop/PrintMusic 2014 Menykommandon.pdf";
if ( -e $swedishKeyboardDocPath1 ) {
symlink($swedishKeyboardDocPath1, $swedishKeyboardShortcut1);
}
When I install this and there already exist a shortcut with the same name, I want the installer to replace it.
I hope I get some help from the forum.
/peli