From 561263b4d2c2d105b8dbbd84ad2da276557653e6 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 11 Apr 2022 23:13:35 +0800 Subject: [PATCH] Pkg // Update postflight script using new syntax. --- Installer/pkgPostInstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installer/pkgPostInstall.sh b/Installer/pkgPostInstall.sh index 529f53f7..8e8df3ae 100644 --- a/Installer/pkgPostInstall.sh +++ b/Installer/pkgPostInstall.sh @@ -1,7 +1,7 @@ #!/bin/sh 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: cp -r /Library/Input\ Methods/"${TARGET}".app /Users/"${login_user}"/Library/Input\ Methods/ || true