1 2 3 4 5 6
#!/bin/sh pinfile="/etc/portage/package.mask/pins" if [ -f "$pinfile" ]; then echo "Removing pin file $pinfile, need root permissions" sudo -A rm -v "$pinfile" fi