Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /usr/bin/packer 2011-03-22 20:00:00.000000000 +0100
- +++ packer 2011-03-22 19:59:33.000000000 +0100
- @@ -504,6 +504,7 @@
- IFS=$'\n'
- packages=( $($pacman -Qm) )
- newpackages=()
- + notfoundpackages=()
- checkignores=()
- total="${#packages[@]}"
- grep -q '^ *ILoveCandy' "$pacmanconf" && bartype='candy' || bartype='normal'
- @@ -552,6 +553,8 @@
- checkignores+=("${packages[i]}")
- elif aurversionisnewer "$pkg" "$ver"; then
- newpackages+=("$pkg")
- + elif ! existsinaur "$pkg"; then
- + notfoundpackages+=("$pkg")
- fi
- done
- fi
- @@ -566,6 +569,11 @@
- fi
- done
- + # Print packages not found in aur
- + for package in "${notfoundpackages[@]}"; do
- + echo -e "${COLOR6}warning:${ENDCOLOR} $package does not exist on aur."
- + done
- +
- # Now for the installation part
- if [[ $newpackages ]]; then
- auronly='1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement