Skip to content

Commit

Permalink
fix post_ugrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Xdavius committed Oct 22, 2024
1 parent d42b272 commit c512379
Show file tree
Hide file tree
Showing 4 changed files with 383 additions and 380 deletions.
30 changes: 15 additions & 15 deletions packagelist
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
1password-cli-bin
adapta-gtk-theme-git
adw-gtk-theme
adw-gtk3
adw-gtk-theme
alacritty
amf-headers
amfora-bin
an-anime-game-launcher-bin
ananicy-cpp
an-anime-game-launcher-bin
android-studio
android-studio-canary
ani-cli-bin
Expand Down Expand Up @@ -164,11 +164,11 @@ gfn-electron-bin
ghcup-bin
gir1.2-xapp-1.0-deb
git
gitblade-deb
git-butler-deb
git-credential-manager-core-deb
git-delta-deb
git-extras-git
gitblade-deb
gitfiend-deb
github-cli-bin
github-cli-deb
Expand All @@ -181,14 +181,14 @@ glow-deb
gnome-shell-extension-installer-git
gnome-tweaks
go-bin
go-task-deb
goldberg-emulator-git
gomuks-deb
goneovim-bin
google-chrome-beta-deb
google-chrome-deb
google-chrome-unstable-deb
google-earth-pro-stable-deb
go-task-deb
goverlay
goverlay-bin
gradience
Expand Down Expand Up @@ -232,8 +232,8 @@ icecat-deb
imwheel-exclude-patched-git
insomnia-deb
insync-deb
intel-undervolt
intellij-idea-community-bin
intel-undervolt
internxt-deb
it87-dkms-git
ivpn-deb
Expand All @@ -243,8 +243,8 @@ jetbrains-toolbox-bin
joplin-desktop-app
kakoune
kalendar-git
kate-backport-deb
kate5-data-backport-deb
kate-backport-deb
keepassxc
keybase-deb
kirc
Expand Down Expand Up @@ -364,16 +364,16 @@ notion-app-deb
notion-app-enhanced-deb
notion-git
nowpm
nu-tongues-bin
nuclear-deb
nuclei-bin
nushell-bin
nu-tongues-bin
obquit-git
obs-backgroundremoval
obs-backgroundremoval-deb
obs-backgroundremoval-git
obs-ndi-deb
obsidian-deb
obs-ndi-deb
oh-my-posh-git
oh-my-zsh-git
oil
Expand Down Expand Up @@ -425,9 +425,9 @@ postman-bin
powertop-git
prettier
prismlauncher-git
proton-python-client
protonmail-bridge-deb
protonplus
proton-python-client
protonup-qt-app
protonvpn-cli
protonvpn-gui
Expand All @@ -447,8 +447,8 @@ python3-vkbasalt-cli
python3-zombie-imp
qogir-gtk-theme-bin
qogir-icon-theme-bin
qt6-style-kvantum
qt6pas
qt6-style-kvantum
qtile-extras-git
qtile-git
quarto-deb
Expand Down Expand Up @@ -481,14 +481,14 @@ rpcs3-app
rsbbi-git
rstudio-deb
rust-bin
rust-motd-deb
rustdesk-deb
rust-motd-deb
schildichat-deb
scrcpy
sed
setconf
shell-color-scripts
shellcheck-bin
shell-color-scripts
shellharden
shfmt-bin
sidequest-bin
Expand All @@ -510,12 +510,12 @@ soundux
spacecadetpinball-git
spot-client-git
spotify-client-deb
st-distrotube-git
st-lukesmith-git
starship-bin
st-distrotube-git
steam-deb
steamtinkerlaunch-git
stellarium
st-lukesmith-git
stockfish-git
stremio-deb
sublime-merge-deb
Expand Down Expand Up @@ -553,8 +553,8 @@ torbrowser-launcher-git
torguard-deb
touchegg-deb
touchegg-git
tre-git
treefetch-bin
tre-git
truckersmp-cli
ttf-fira-sans
tuner
Expand Down
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
}
Loading

0 comments on commit c512379

Please sign in to comment.