mirror of
https://github.com/moparisthebest/arch-ppa
synced 2025-02-16 07:00:15 -05:00
tweak script
This commit is contained in:
parent
4ef8b43bf2
commit
2bfd6f4df1
5
arch-ppa
5
arch-ppa
@ -137,7 +137,7 @@ add() {
|
|||||||
update() {
|
update() {
|
||||||
# Update a package and it's dependencies from the AUR
|
# Update a package and it's dependencies from the AUR
|
||||||
(
|
(
|
||||||
#set -e
|
#set -e # breaks updating all if one fails, ignore errors
|
||||||
if [ "$#" -eq 0 ]; then
|
if [ "$#" -eq 0 ]; then
|
||||||
cd $basedir/src
|
cd $basedir/src
|
||||||
update *
|
update *
|
||||||
@ -259,12 +259,15 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rebuild() {
|
rebuild() {
|
||||||
|
(
|
||||||
|
set -e
|
||||||
setup
|
setup
|
||||||
repo_name=$1
|
repo_name=$1
|
||||||
mkdir -p $basedir/$repo_name
|
mkdir -p $basedir/$repo_name
|
||||||
shift
|
shift
|
||||||
arch-nspawn $chroot/$repo_name pacman -Rscn --noconfirm "$@"
|
arch-nspawn $chroot/$repo_name pacman -Rscn --noconfirm "$@"
|
||||||
build "$repo_name" "$@"
|
build "$repo_name" "$@"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$#" -gt 0 ]; then
|
if [ "$#" -gt 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user