Pkg // Update postflight script using new syntax.
This commit is contained in:
parent
9a2caf2e44
commit
d1925f483e
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
TARGET='vChewing'
|
TARGET='vChewing'
|
||||||
login_user=`/usr/bin/stat -f%Su /dev/console`
|
login_user=$(/usr/bin/stat -f%Su /dev/console)
|
||||||
|
|
||||||
# First, copy the wrongfully installed contents to the right location:
|
# First, copy the wrongfully installed contents to the right location:
|
||||||
cp -r /Library/Input\ Methods/"${TARGET}".app /Users/"${login_user}"/Library/Input\ Methods/ || true
|
cp -r /Library/Input\ Methods/"${TARGET}".app /Users/"${login_user}"/Library/Input\ Methods/ || true
|
||||||
|
|
Loading…
Reference in New Issue