summaryrefslogtreecommitdiffstats
path: root/snap/local/scripts/ghostscript-libraries
blob: 1184ce1aac4d5047960e11a68405697817d5749f (plain)
1
2
3
4
5
6
7
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Make it so that Ghostscript can find itself in the snap directory

export GS_LIB=`find ${SNAP}/usr/share/ghostscript -name gs_init.ps | head -1 | xargs dirname`

exec "$@"