Skip to content

Commit

Permalink
lenovolegionlinux-dkms-git: fix package
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT committed Jan 2, 2025
1 parent b16c06a commit c5ac1c7
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ package() {
cd "${srcdir}/${_pkgname}/kernel_module/"
install -Dm644 dkms.conf "${pkgdir}"/usr/src/"${_pkgname}"-1.0.0/dkms.conf
cp -r {issue-warning.sh,legion-laptop-unused-snippets.c,legion-laptop.c,Makefile} "${pkgdir}"/usr/src/"${_pkgname}"-1.0.0/

cd "${srcdir}/${_pkgname}/deploy/"
install -Dm644 LenovoLegionLinux.hook "${pkgdir}"/etc/pacman.d/hooks/LenovoLegionLinux.hook
install -Dm775 LenovoLegionLinux "${pkgdir}"/usr/bin/LenovoLegionLinux
}

post_install() {
Expand All @@ -34,10 +30,6 @@ post_install() {
echo -e "${RED} ${BOLD} If you have a 2022 or 2023 model, please help testing the new features '\e]8;;https://github.com/johnfanv2/LenovoLegionLinux/issues/46\ahere\e]8;;\a'"
}

post_upgrade() {
post_install "$1"
}

post_remove() {
RED='\033[0;31m'
BOLD=$(tput bold)
Expand Down

0 comments on commit c5ac1c7

Please sign in to comment.