mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
284 B

#!/bin/bash
INCLUDE() {
if echo "$1" | grep -q '.*\.set$'
then
cat ./misc/pkgsel/sets/$1 | sed 's/#.*//'
else
cat $1 | sed 's/#.*//'
fi
}
ADD() {
echo "/[ =]$1 / { p ; d } ;"
}
REMOVE() {
echo "/[ =]$1 / { s/^X /O / ; p ; d } ;"
}
DISABLE_REST() {
echo 's/^X /O / ;'
}