You are not logged in.
Pages: 1
# Contributor: David Valentim Dias <dvdscripter@gmail.com>
#!/bin/bash
_BUILDDIR=/home/dvd/build
#for i in `find /var/abs -type d -name "$1" -print`; do
for i in `slocate -l 0 -r "/var/abs.*/$1/.*PKGBUILD" | sed s/PKGBUILD//`; do
echo -n "You want install $i [N/y]: "
read R
if [ "$R" == "y" ]; then
cp -R $i $_BUILDDIR
break
fi
done
Offline
Pages: 1