summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaaris2022-05-29 23:12:25 +0100
committerfaaris2022-05-29 23:12:25 +0100
commitee2ce3e6e60b8932e12a8f6351172c1df17fc6d0 (patch)
tree83f7ee90d6daa9021358c2924b6c0a613d963eec
parentd98c402b4884c03465be9f63e72c2299ad48c14a (diff)
downloadaur-ee2ce3e6e60b8932e12a8f6351172c1df17fc6d0.tar.gz
fix script
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD10
-rw-r--r--notes.install12
3 files changed, 4 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c60f530b108a..c8144ed6ae2c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,12 @@
pkgbase = nvidia-modprobe-service
pkgdesc = Fixes /oldroot unmount issues by unloading nvidia modules before shutdown / reboot.
pkgver = 2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Fxzzi/nvidia-modprobe-service
- install = notes.install
arch = any
license = GPL
depends = systemd
source = nvidia.shutdown
- source = notes.install
sha256sums = 70887ad4e0a2759aeb929514287e83c5b01016bfb8e19098b42d7fb11dcd5af6
- sha256sums = c105f4a328491f31984d767bc15042122d4de59cca4c3d46fbd7712004053982
pkgname = nvidia-modprobe-service
diff --git a/PKGBUILD b/PKGBUILD
index c3814d673434..2fa4354b3779 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,16 @@
pkgname=nvidia-modprobe-service
pkgver=2
-pkgrel=1
+pkgrel=2
pkgdesc="Fixes /oldroot unmount issues by unloading nvidia modules before shutdown / reboot."
arch=('any')
license=('GPL')
depends=('systemd')
-install="notes.install"
url="https://github.com/Fxzzi/nvidia-modprobe-service"
-source=('nvidia.shutdown'
- 'notes.install')
-
-sha256sums=('70887ad4e0a2759aeb929514287e83c5b01016bfb8e19098b42d7fb11dcd5af6'
- 'c105f4a328491f31984d767bc15042122d4de59cca4c3d46fbd7712004053982')
+source=('nvidia.shutdown')
+sha256sums=('70887ad4e0a2759aeb929514287e83c5b01016bfb8e19098b42d7fb11dcd5af6')
package() {
install -Dm 644 nvidia.shutdown -t "$pkgdir"/usr/lib/systemd/system-shutdown/
diff --git a/notes.install b/notes.install
deleted file mode 100644
index 56e3a3320f8b..000000000000
--- a/notes.install
+++ /dev/null
@@ -1,12 +0,0 @@
-BOLD='\033[1m'
-GREEN='\033[32m'
-RESET='\033[0m'
-
-post_install() {
- echo
- echo -e "${BOLD}Successfully installed nvidia-modprobe.service!${RESET}"
- echo "You should enable the service for this fix to work:"
- echo -e "${GREEN}sudo systemctl daemon-reload${RESET}"
- echo -e "${GREEN}sudo systemctl enable --now nvidia-modprobe.service${RESET}"
- echo
-}