Update
This commit is contained in:
parent
2a3093bc1f
commit
8e2b1b5d92
|
@ -36,7 +36,7 @@ pkgver() {
|
||||||
package() {
|
package() {
|
||||||
# Clone file structure
|
# Clone file structure
|
||||||
install -d "${pkgdir}/etc/skel/"
|
install -d "${pkgdir}/etc/skel/"
|
||||||
cp -r --no-preserve=ownership "${srcdir}/${_gitname}/skel" "${pkgdir}/etc/"
|
cp -rT --no-preserve=ownership "${srcdir}/${_gitname}/skel/" "${pkgdir}/etc/skel/"
|
||||||
|
|
||||||
# Find all scripts
|
# Find all scripts
|
||||||
readarray -d '' scripts < <(find "${pkgdir}/etc/skel" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0)
|
readarray -d '' scripts < <(find "${pkgdir}/etc/skel" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
_gitname="$(basename $(pwd))"
|
_gitname="$(basename $(pwd))"
|
||||||
pkgname=("melawy-$_gitname")
|
pkgname=("melawy-$_gitname")
|
||||||
pkgver=1.3
|
pkgver=1.5
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -38,7 +38,7 @@ install=ins.install
|
||||||
package() {
|
package() {
|
||||||
# Clone file structure
|
# Clone file structure
|
||||||
install -d "${pkgdir}/home/"
|
install -d "${pkgdir}/home/"
|
||||||
cp -r --no-preserve=ownership "${srcdir}/${_gitname}/liveuser" "${pkgdir}/home/"
|
cp -rT --no-preserve=ownership "${srcdir}/${_gitname}/liveuser/" "${pkgdir}/home/liveuser/"
|
||||||
|
|
||||||
# Find all scripts
|
# Find all scripts
|
||||||
readarray -d '' scripts < <(find "${pkgdir}/home/liveuser" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0)
|
readarray -d '' scripts < <(find "${pkgdir}/home/liveuser" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0)
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
chown -chR 1000:1000 /home/liveuser
|
chown -Rh 1000:1000 /home/liveuser
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
|
@ -2,3 +2,6 @@ post_install() {
|
||||||
chown -chR 1000:1000 /home/liveuser
|
chown -chR 1000:1000 /home/liveuser
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
_gitname="$(basename $(pwd))"
|
_gitname="$(basename $(pwd))"
|
||||||
pkgname=("melawy-$_gitname")
|
pkgname=("melawy-$_gitname")
|
||||||
pkgver=1.7
|
pkgver=1.8
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
||||||
url="https://github.com/Melawy/$_gitname"
|
url="https://github.com/Melawy/$_gitname"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
_gitname="$(basename $(pwd))"
|
_gitname="$(basename $(pwd))"
|
||||||
pkgname=("melawy-$_gitname")
|
pkgname=("melawy-$_gitname")
|
||||||
pkgver=1.9
|
pkgver=1.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
pkgdesc="$(head -n 2 README.md | tail -n 1)"
|
||||||
url="https://github.com/Melawy/$_gitname"
|
url="https://github.com/Melawy/$_gitname"
|
||||||
|
|
Loading…
Reference in New Issue