From c5ac1c7b0939f3e4cfaf8ad1e422a7f3af886a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Thu, 2 Jan 2025 11:04:09 +0000 Subject: [PATCH] lenovolegionlinux-dkms-git: fix package --- .../lenovolegionlinux-dkms-git.pacscript | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/lenovolegionlinux-dkms-git/lenovolegionlinux-dkms-git.pacscript b/packages/lenovolegionlinux-dkms-git/lenovolegionlinux-dkms-git.pacscript index ff8ef3a917..051edba483 100644 --- a/packages/lenovolegionlinux-dkms-git/lenovolegionlinux-dkms-git.pacscript +++ b/packages/lenovolegionlinux-dkms-git/lenovolegionlinux-dkms-git.pacscript @@ -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() { @@ -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)