summaryrefslogtreecommitdiffstats
path: root/source/l/shared-mime-info/fetch-shared-mime-info.sh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-01-02 20:36:24 +0000
committer Eric Hameleers <alien@slackware.com>2021-01-03 08:59:48 +0100
commit4f5caa67e6249f03459f2f09ff518ca5fffdc694 (patch)
tree5335c056d78585a81989e1ba22b606781774ebd0 /source/l/shared-mime-info/fetch-shared-mime-info.sh
parentc53e3a413a82eaadc7b59568a4aea8fa33951525 (diff)
downloadcurrent-4f5caa67e6249f03459f2f09ff518ca5fffdc694.tar.gz
current-4f5caa67e6249f03459f2f09ff518ca5fffdc694.tar.xz
Sat Jan 2 20:36:24 UTC 202120210102203624
a/smartmontools-7.2-x86_64-1.txz: Upgraded. l/cryptopp-8.4.0-x86_64-1.txz: Upgraded. l/shared-mime-info-2.1-x86_64-1.txz: Upgraded. xfce/xfce4-whiskermenu-plugin-2.5.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/shared-mime-info/fetch-shared-mime-info.sh')
-rwxr-xr-xsource/l/shared-mime-info/fetch-shared-mime-info.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/l/shared-mime-info/fetch-shared-mime-info.sh b/source/l/shared-mime-info/fetch-shared-mime-info.sh
index 3991e39f4..871d0c9f9 100755
--- a/source/l/shared-mime-info/fetch-shared-mime-info.sh
+++ b/source/l/shared-mime-info/fetch-shared-mime-info.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2019, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ rm -rf shared-mime-info
# Clone repository:
git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
-VERSION=$(cd shared-mime-info && grep "^AC_INIT(\[shared-mime-info" configure.ac | cut -f 2 -d , | tr -d [ | tr -d ])
+VERSION=$(cd shared-mime-info && grep -w 'version:' meson.build | head -n 1 | cut -f 2 -d \')
# Cleanup. We're not packing up the whole git repo.
( cd shared-mime-info && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )