Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(it87-dkms-git): fixed post_upgrade script #6580

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/it87-dkms-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pkgbase = it87-dkms-git
gives = it87
pkgver = 152
pkgrel = 2
pkgdesc = Linux Driver for ITE LPC chips
url = https://github.com/frankcrawford/it87
arch = x86_64
Expand Down
7 changes: 4 additions & 3 deletions packages/it87-dkms-git/it87-dkms-git.pacscript
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pkgname="it87-dkms-git"
gives="it87"
pkgver="152"
pkgrel="2"
pkgdesc="Linux Driver for ITE LPC chips"
arch=('x86_64' 'i686')
url='https://github.com/frankcrawford/it87'
Expand Down Expand Up @@ -31,7 +32,7 @@ package() {
}

post_upgrade() {
update-initramfs -u -k all
post_install
}

post_install() {
Expand All @@ -42,7 +43,7 @@ post_install() {
dkms build -m "${DKMS_NAME}" -v "${DKMS_VERSION}"
dkms install -m "${DKMS_NAME}" -v "${DKMS_VERSION}" --force || true

update-initramfs -u -k all
update-initramfs -u
}

pre_remove() {
Expand All @@ -51,5 +52,5 @@ pre_remove() {

dkms remove -m "${DKMS_NAME}" -v "${DKMS_VERSION}" --all || true

update-initramfs -u -k all
update-initramfs -u
}
1 change: 1 addition & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -4831,6 +4831,7 @@ pkgname = internxt-deb
pkgbase = it87-dkms-git
gives = it87
pkgver = 152
pkgrel = 2
pkgdesc = Linux Driver for ITE LPC chips
url = https://github.com/frankcrawford/it87
arch = x86_64
Expand Down
Loading