[PKGBUILD] Prevent updating from overwriting the configuration
Adding the ‘config.sh’ to the backup files means that the file doesn't get overwritten when the package is updated.
This commit is contained in:
parent
e882f79e73
commit
5c45e8b40a
1 changed files with 1 additions and 0 deletions
1
PKGBUILD
1
PKGBUILD
|
@ -10,6 +10,7 @@ source=('config.sh' 'update-mirrors' 'update-mirrors.hook')
|
||||||
md5sums=('f346650dfe6e27c04857fe818e164981'
|
md5sums=('f346650dfe6e27c04857fe818e164981'
|
||||||
'bf665ee254c3e6805bc9bb12f5d9cbe1'
|
'bf665ee254c3e6805bc9bb12f5d9cbe1'
|
||||||
'da17120353c50b53f7478f72bbac04e8')
|
'da17120353c50b53f7478f72bbac04e8')
|
||||||
|
backup=('etc/xdg/update-mirrors/config.sh')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 config.sh "${pkgdir}/etc/xdg/update-mirrors/config.sh"
|
install -Dm755 config.sh "${pkgdir}/etc/xdg/update-mirrors/config.sh"
|
||||||
|
|
Loading…
Reference in a new issue