Signed-off-by: ormorph <roma251078@mail.ru>pull/183/head
parent
f2a7020da6
commit
489fdb2e44
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
##################################################################################################
|
||||
# cd PATH/tde-packaging-gentoo
|
||||
# Documentation/scripts/create_list_keywords.sh 9999 >/etc/portage/package.accept_keywords/trinity
|
||||
##################################################################################################
|
||||
|
||||
VERS=$1
|
||||
create_list() {
|
||||
local FILE STR ARRAY
|
||||
while read file
|
||||
do
|
||||
FILE=${file//.\//}
|
||||
STR=${FILE%.ebuild}
|
||||
ARRAY=(${STR//\// })
|
||||
echo "~${ARRAY[0]}/${ARRAY[2]} **"
|
||||
done < <(find -type f -name "*-${VERS}.ebuild")
|
||||
}
|
||||
|
||||
create_list | sort
|
Loading…
Reference in new issue