ttf-ms-win11-auto: auto updated to 10.0.22631.2428-2
This commit is contained in:
parent
c6968099ce
commit
169c8279d8
|
@ -73,7 +73,7 @@
|
|||
pkgbase=ttf-ms-win11-auto
|
||||
pkgname=($pkgbase{,-japanese,-korean,-sea,-thai,-zh_cn,-zh_tw,-other})
|
||||
pkgver=10.0.22631.2428
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=(any)
|
||||
url='https://www.microsoft.com/typography/fonts/product.aspx?PID=164'
|
||||
license=(custom)
|
||||
|
@ -402,11 +402,15 @@ prepare() {
|
|||
echo "- Fonts are missing"
|
||||
echo -ne "- Mount filesystems as a non-privileged user: "
|
||||
touch test.mount
|
||||
_mount=
|
||||
udisksctl loop-setup -r -f test.mount --no-user-interaction >/dev/null 2>&1 && _mount=true
|
||||
_unprivilegedMountAllowed=false
|
||||
_udisksctlOutput=$(udisksctl loop-setup -r -f test.mount --no-user-interaction) && {
|
||||
_unprivilegedMountAllowed=true
|
||||
_testLoopDev=$(echo "$_udisksctlOutput" | awk '{print $NF}' RS='.\n')
|
||||
udisksctl loop-delete -b "$_testLoopDev" --no-user-interaction
|
||||
}
|
||||
rm test.mount
|
||||
|
||||
if [ $_mount ]; then
|
||||
if [ "$_unprivilegedMountAllowed" = "true" ]; then
|
||||
echo "allowed"
|
||||
echo "- Downloading fonts directly"
|
||||
mkdir -p mnt/http
|
||||
|
|
Loading…
Reference in a new issue