Sign in
◑
Theme
third-party-mirror
/
gpac
/
refs/heads/main
/
.
/
packagers
/
osx
/
scripts
/
postinstall
blob: d8214574f68495457c5794751e9b8a556e606dab [
file
] [
edit
]
#!/bin/sh
inst_dir
=
"$2/GPAC.app"
echo
"inst_dir: $inst_dir"
inpath
=
`grep "$inst_dir" /etc/paths`
if
[
-
n
"$inpath"
]
;
then
echo
"Already in path"
else
echo
"$inst_dir/Contents/MacOS/"
>>
/
etc
/
paths
fi
exit
0