Added old-abi function to find packages belonging to the old C++ ABI
This commit is contained in:
parent
d7840b0eaf
commit
c71ab870c9
@ -85,7 +85,6 @@ virtual_env_prompt() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
delete-old-archives() {
|
delete-old-archives() {
|
||||||
sudo tarsnap --fsck
|
|
||||||
archives=$(sudo tarsnap --list-archives | sort)
|
archives=$(sudo tarsnap --list-archives | sort)
|
||||||
del_archives=$(echo $archives | head -n $(($(echo $archives | wc -l) - 3)))
|
del_archives=$(echo $archives | head -n $(($(echo $archives | wc -l) - 3)))
|
||||||
del_archives=("${(@f)del_archives}")
|
del_archives=("${(@f)del_archives}")
|
||||||
@ -109,3 +108,11 @@ update-mirrors() {
|
|||||||
sudo sh -c "reflector -p http -l 50 --sort rate | tee /etc/pacman.d/mirrorlist"
|
sudo sh -c "reflector -p http -l 50 --sort rate | tee /etc/pacman.d/mirrorlist"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
old-abi() {
|
||||||
|
for i in $(pacman -Qqm); do
|
||||||
|
if pacman -Qql $i | xargs readelf -d 2>/dev/null | grep -q libstdc++.so.6; then
|
||||||
|
echo $i;
|
||||||
|
fi;
|
||||||
|
done
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user