92f155cdb9
- Make installation cleaner. Old installation procedure modified file permission of CIDFnmap file from 0444 to 0644. Submitted by: kris
11 lines
974 B
Plaintext
11 lines
974 B
Plaintext
share/ghostscript/%%GS_VERSION%%/lib/%%CIDFNMAP%%
|
|
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
|
|
@exec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
|
@exec echo '(%%CIDFNMAP%%) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
|
@exec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
|
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
|
|
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
|
|
@unexec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
|
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
|
|
@unexec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|