mirror of
https://codeberg.org/wonky/udev-usb-sync.git
synced 2024-09-19 23:30:37 +02:00
updated install
This commit is contained in:
parent
2ef9cbb9f0
commit
46743f8a21
2 changed files with 29 additions and 0 deletions
18
.SCRINFO
Normal file
18
.SCRINFO
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
pkgbase = udev-usb-sync
|
||||||
|
pkgdesc = Fine tune write cache when USB storage device is plugged
|
||||||
|
pkgver = 0.3
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://codeberg.org/wonky/udev-usb-sync
|
||||||
|
install = udev-usb-sync.install
|
||||||
|
arch = any
|
||||||
|
license = MIT
|
||||||
|
depends = hdparm
|
||||||
|
provides = udev-usb-sync
|
||||||
|
source = 99-usb-sync.rules
|
||||||
|
source = udev-usb-sync.sh
|
||||||
|
source = udev-usb-sync.conf
|
||||||
|
sha256sums = 6b4d422f1b8579ac172c82099a80201167a635c2b699639e59420ab87867a035
|
||||||
|
sha256sums = 4d3588b241d5214faeeac021668627e115e69f62b28454f351daa532082f6324
|
||||||
|
sha256sums = bc902da2c453355e1dbc3a970a564daf71d41c6278dc771a930aa3badb90e453
|
||||||
|
|
||||||
|
pkgname = udev-usb-sync
|
11
udev-usb-sync.install
Normal file
11
udev-usb-sync.install
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
post_install() {
|
||||||
|
udevadm control --reload
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install
|
||||||
|
}
|
Loading…
Reference in a new issue