#!/bin/bash # # Script available under the terms of the Nutritive licence. # (do what you want, as long as it and it's derivated are free) # # Script to help with enlightenment port rebuild # # Based on Victor Martinez's script, from Crux's e17 repository. # # An eselect module that do it a better way should arrive... a day. :) #+ Until this day, you can use this small script. # # I already tested it while Enlightenment was open. As long as you don't #+ segfault, it works. ;) # . /etc/pkg++.conf e17_packages=(eina embryo eet evas ecore efreet e_dbus edje enlightenment) prt-get remove ${e17_packages[@]} : ${PKGMK_PKGFILE:="Pkgfile"} if [[ -e "$PKGMK_PKGFILE" ]]; then cd .. fi for package in ${e17_packages[@]}; do ( cd $package pkg++ -f $@ pkg++ -f -us pkg++ -f -um pkg++ -f -uf ) || exit 1 done