Sponsored Content
Full Discussion: Installer issue
Operating Systems OS X (Apple) Installer issue Post 302967237 by Don Cragun on Sunday 21st of February 2016 03:01:25 PM
Old 02-21-2016
Trying to create a symbolic link will fail if the name of the symlink to be created already exists. Try this instead:
Code:
#!/bin/ksh
################################################################################
#
# Create Desktop shortcut for Swedish Menu Commands Document
#
################################################################################
swedishKeyboardDocPath1="$APPSUPPORT_PATH/Finale Extra/PrintMusic 2014 Menykommandon.pdf"
swedishKeyboardShortcut1=~"/Desktop/PrintMusic 2014 Menykommandon.pdf"
if [ -e "$swedishKeyboardDocPath1" ]
then	rm -f "$swedishKeyboardShortcut1"
	ln -s "$swedishKeyboardDocPath1" "$swedishKeyboardShortcut1"
else	printf '%s: "%s" not found.\n' "${0##*/}" "$swedishKeyboardDocPath1"
	exit 1
fi

Note, however, that this will not work unless APPSUPPORT_PATH is an exported variable in your environment when you invoke this script.
 

8 More Discussions You Might Find Interesting

1. Gentoo

Unix OS Installer

Hey Guys, Can somebody help me get a unix OS installer (preferably no charge)? Can I install it on intel pc? I got a copy of unix installer a year ago and tried installing it on an intel pc but I can't get it done although I was already following instructions. Slick (42 Replies)
Discussion started by: Slick
42 Replies

2. UNIX for Advanced & Expert Users

Create an installer

I have a software bundle for which I want to create an installer. One of the things I am also looking at, is to be able to install this straight from a CD or any external storage device. How do I go about creating one? This is for Linux. Any advice is welcome !! -- garric (3 Replies)
Discussion started by: garric
3 Replies

3. UNIX for Dummies Questions & Answers

UNIX installer??

hi i wanna ask that is there a software available for unix to install different files... e.g. when we install a file in windows the installation wizard runs and guides us through the process... if so plz tell... and guide thnx! (5 Replies)
Discussion started by: umarbangash
5 Replies

4. Fedora

wubi installer for windows

hello.i need a soft like (wubi support ubuntu) to boot fedora or centos or freebsd.any answer ? Thank You. (2 Replies)
Discussion started by: d4rkm4nx99
2 Replies

5. Solaris

solaris installer

what is the name of the solaris installer? (for both x86 and sparc architecture) In linux it is "anaconda". (7 Replies)
Discussion started by: kingston
7 Replies

6. Red Hat

If I want to create such Installer (Not RPM)

Hi All, I had created a installer (RPM), but later I came across that Netbeans (netbeans-6.9-ml-linux), Flex Builder Linux Alpha (flexbuilder_linux_install_a4_081408.bin) and JDK (jdk-6u20-linux-i586-rpm.bin) dont provide any RPM but they provide a huge binary executable shell script. My... (0 Replies)
Discussion started by: jw_amp
0 Replies

7. Solaris

OpenSolaris Installer error

Hi, Whenever i try to install OpenSolaris, I am getting the error "There was an error launching the application. Detail: Failed to fork child process (Not enough space)" I am using the image 2009.06. I have 512 mb ram and 100 gb hard drive with Red Hat and Windows Xp installed. Please... (1 Reply)
Discussion started by: krabu
1 Replies

8. Shell Programming and Scripting

Yet another simple script installer

Heyas Just recently i tried to apply the GNU Autotools to my project, while it was possible, it took forever to know where to create which files and what to place in each of them. Dare you making a space rather than a tab! Inspired by GNU Autotools, and overhelmed by its functionality and... (0 Replies)
Discussion started by: sea
0 Replies
pdfseparate(1)						      General Commands Manual						    pdfseparate(1)

NAME
pdfseparate - Portable Document Format (PDF) page extractor SYNOPSIS
pdfseparate [options] PDF-file PDF-page-pattern DESCRIPTION
pdfseparate extract single pages from a Portable Document Format (PDF). pdfseparate reads the PDF file PDF-file, extracts one or more pages, and writes one PDF file for each page to PDF-page-pattern, PDF-page- pattern should contain %d The PDF-file should not be encrypted. OPTIONS
-f number Specifies the first page to extract. If -f is omitted, extraction starts with page 1. -l number Specifies the last page to extract. if -p is omitted, extraction ends with the last page. -v Print copyright and version information. -h Print usage information. (-help and --help are equivalent.) EXAMPLE
pdfseparate sample.pdf sample-%d.pdf extracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces sample-1.pdf, sample-2.pdf, sample-3.pdf AUTHOR
The pdfseparate software and documentation are copyright 1996-2004 Glyph & Cog, LLC and copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org SEE ALSO
pdfunite(1), 15 September 2011 pdfseparate(1)
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy