Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/custom_packages/kspkglist.70.extras.sh
blob: a804e09f95f66f6d9b355228d99450223a256efe (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
25
26
# Copyright (C) 2010 One Laptop Per Child
# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.

. $OOB__shlib

add=$(read_config custom_packages add_packages)
del=$(read_config custom_packages del_packages)

if [[ -n "$add" ]]; then
	oIFS=$IFS
	IFS=$'\n\t, '
	for pkg in $add; do
		echo "$pkg"
	done
	IFS=$oIFS
fi

if [[ -n "$del" ]]; then
	oIFS=$IFS
	IFS=$'\n\t, '
	for pkg in $del; do
		echo "-$pkg"
	done
	IFS=$oIFS
fi