Implemented game installation logic

This commit is contained in:
2020-05-06 12:11:15 +02:00
parent 7226d6b331
commit d650079127
3 changed files with 44 additions and 21 deletions

View File

@@ -70,14 +70,6 @@ error(){
exit 1;
}
# @todo May this should be moved to another place
get_packages(){
for package_collection in "$@"
do
sed -e "/^#/d" -e "s/#.*//" "$PACKAGE_PATH""$package_collection.txt" || error "Loading package wasn't possible."
done
}
HEADER(){
echo
echo "${COLOR_YELLOW}The"