1
by Joey Hess
* Updated translations: |
1 |
#!/bin/sh -e
|
2 |
||
3
by Colin Watson
* Backport from trunk (Matt Kraai, closes: Ubuntu #14608): |
3 |
. /usr/share/debconf/confmodule |
4 |
||
5 |
if db_get anna/retriever && [ "$RET" ]; then |
|
15
by Colin Watson
Resynchronise with Debian. |
6 |
# Install the requested modules immediately
|
7 |
logger -t anna-install "Installing $@" |
|
3
by Colin Watson
* Backport from trunk (Matt Kraai, closes: Ubuntu #14608): |
8 |
exec anna install "$@" |
9 |
fi
|
|
10 |
||
1
by Joey Hess
* Updated translations: |
11 |
queue=/var/lib/anna-install/queue |
12 |
||
13 |
mkdir -p /var/lib/anna-install |
|
14 |
touch $queue
|
|
15 |
for pkg in $@ ; do |
|
4
by Colin Watson
* Resynchronise with Debian. |
16 |
if ! grep -q "^$pkg$" $queue; then |
15
by Colin Watson
Resynchronise with Debian. |
17 |
logger -t anna-install "Queueing udeb $pkg for later installation" |
4
by Colin Watson
* Resynchronise with Debian. |
18 |
echo "$pkg" >> $queue |
19 |
fi
|
|
1
by Joey Hess
* Updated translations: |
20 |
done
|