[eos-hwtool] Add path to files installed with --packagedir

This commit is contained in:
dalto
2026-01-28 18:36:31 -06:00
parent 6d6541e4aa
commit 0095d8d752
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
# Maintainer : Evan James <dalto@endeavouros.com>
pkgname=eos-hwtool
pkgver=1.7
pkgver=1.8
pkgrel=1
pkgdesc="The EndeavourOS hardware management tool is used to manage VM and GPU drivers"
arch=('any')
@@ -12,7 +12,7 @@ source=(
eos-hwtool
eos-hwtool.bash-completion
)
sha256sums=('25d2e9dba86b3f808c1d36cbb01228c3affbd9c988cd682c7d8da468c95ffa1d'
sha256sums=('48c080064886344a4544578983e09deddcdd640d32b0a8c292bc04ca4ad2eb18'
'9836580e53c9f9d7b5d0560a685e6f4e7a367bbf3d6691b8ae7adb22fb0e3015')
package() {
+2 -3
View File
@@ -330,7 +330,7 @@ def get_file_list(package_list, package_directory):
for filename in dir_list:
match = package_re.match(filename.name)
if match and match.group("name") == package:
file_list.append(filename.name)
file_list.append(package_directory + '/' + filename.name)
break
return file_list
@@ -350,8 +350,7 @@ def install_packages(package_list, is_iso, package_directory):
# We are installing from a directory
filename_list = get_file_list(package_list, package_directory)
if filename_list:
#command = ["pacman", "--noconfirm", "-U"] + filename_list
command = ["pacman", "-U"] + filename_list
command = ["pacman", "--noconfirm", "-U"] + filename_list
else:
return False
else: