summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgitpocalypse2022-11-14 22:36:48 -0500
committergitpocalypse2022-11-14 22:38:09 -0500
commitf29b3936683234bf1bb760188ad17f9b74e69602 (patch)
tree27c89fed948b30fa350030f496ebc62ab64a02dc
parent40b1968bad262670c3bf8e9f3466d98458e56353 (diff)
downloadaur-dell-command-configure.tar.gz
Add post-upgrade script
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--dell-command-configure.install4
3 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9aa55d54d5..86ecb65178b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = dell-command-configure
pkgdesc = Configure various BIOS features on Dell laptops
pkgver = 4.7.0.433
- pkgrel = 2
+ pkgrel = 3
url = https://www.dell.com/support/kbdoc/000178000/dell-command-configure
+ install = dell-command-configure.install
arch = x86_64
license = unknown
depends = bash
diff --git a/PKGBUILD b/PKGBUILD
index eff9a50f714..a612158e011 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=dell-command-configure
_pkgver=4.7.0-433
pkgver=${_pkgver//-/.}
-pkgrel=2
+pkgrel=3
pkgdesc='Configure various BIOS features on Dell laptops'
arch=('x86_64')
url='https://www.dell.com/support/kbdoc/000178000/dell-command-configure'
@@ -14,6 +14,7 @@ provides=('libdchtvm.so=9' 'libdchipm.so=9' 'libdchesm.so=9' 'libdchcfl.so=9'
'libdchbas.so=9' 'libdchapi.so=9' 'libsmbios_c.so=2' 'libhapiintf.so'
'srvadmin-hapi')
DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
+install=dell-command-configure.install
source=("${pkgname}-${pkgver}.tar.gz::https://dl.dell.com/FOLDER08385603M/1/command-configure_${_pkgver}.ubuntu20_amd64.tar.gz")
sha256sums=('8c07db9dd7a0e1f450bd58c1649ef654f3afc2cc5b28ba2b2fbdcb243bb4738b')
diff --git a/dell-command-configure.install b/dell-command-configure.install
new file mode 100644
index 00000000000..59b9e38fb3e
--- /dev/null
+++ b/dell-command-configure.install
@@ -0,0 +1,4 @@
+post_upgrade() {
+ echo ":: Re-building initcpio"
+ mkinitcpio -P
+}