mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
installer script: package (14)
This commit is contained in:
parent
0897da627a
commit
c7cb22732c
@ -26,5 +26,11 @@ sha256sums=('SKIP')
|
||||
package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
install -Dm0555 de-p1st-installer.sh "$pkgdir"/usr/bin/de-p1st-installer
|
||||
install -Dm0544 de-p1st-installer.sh "$pkgdir"/usr/bin/"${pkgname}"
|
||||
|
||||
install -Dm0644 lib/block-device.sh "$pkgdir"/usr/lib/"${pkgname}"/block-device.sh
|
||||
install -Dm0644 lib/user-input.sh "$pkgdir"/usr/lib/"${pkgname}"/user-input.sh
|
||||
install -Dm0644 lib/util.sh "$pkgdir"/usr/lib/"${pkgname}"/util.sh
|
||||
|
||||
install -Dm0644 -o0 installer.cfg "$pkgdir"/etc/"${pkgname}"/installer.cfg
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# load config
|
||||
source installer.cfg || { exit 1; }
|
||||
source /etc/de-p1st-installer/installer.cfg || { exit 1; }
|
||||
|
||||
# load functions
|
||||
source lib/util.sh || { exit 1; }
|
||||
source lib/user-input.sh || { exit 1; }
|
||||
source lib/block-device.sh || { exit 1; }
|
||||
source /usr/lib/de-p1st-installer/util.sh || { exit 1; }
|
||||
source /usr/lib/de-p1st-installer/user-input.sh || { exit 1; }
|
||||
source /usr/lib/de-p1st-installer/block-device.sh || { exit 1; }
|
||||
|
||||
|
||||
function check_network() {
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=repo
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.1.6
|
||||
pkgver=0.1.7
|
||||
pkgrel=1
|
||||
pkgdesc="Bash script to manage remote Arch Linux repository"
|
||||
arch=('any')
|
||||
@ -30,6 +30,5 @@ package() {
|
||||
install -Dm0555 arch-repo-receive-new.sh "$pkgdir"/usr/bin/arch-repo-receive-new
|
||||
install -Dm0555 arch-repo-vercmp.sh "$pkgdir"/usr/bin/arch-repo-vercmp
|
||||
|
||||
install -Dm0644 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
||||
chown 0:0 "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
||||
install -Dm0644 -o0 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user