Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/custom_packages/kspkglist.70.extras.sh
blob: 9aff5f1aeec8006fd33cda497f88fc42d4a2ef67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (C) 2010 One Laptop Per Child
# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.

. $OOB__shlib

find_option_values pkgs_add custom_packages add_packages
for pkgs in "${pkgs_add[@]}"; do
	oIFS=$IFS
	IFS=$'\n\t, '
	for pkg in $pkgs; do
		echo "$pkg"
	done
	IFS=$oIFS
done

find_option_values pkgs_del custom_packages del_packages
for pkgs in "${pkgs_del[@]}"; do
	oIFS=$IFS
	IFS=$'\n\t, '
	for pkg in $pkgs; do
		echo "-$pkg"
	done
	IFS=$oIFS
done