]> git.ipfire.org Git - people/ms/pakfire.git/blob - tools/functions-common
database: Save installed package size.
[people/ms/pakfire.git] / tools / functions-common
1 #!/bin/bash
2
3 # Simply import all files from this directory that
4 # begin with functions-*.
5
6 BASEDIR=$(dirname ${BASH_SOURCE[0]})
7
8 for file in ${BASEDIR}/functions-*; do
9 # Avoid infinite loop when importing this file again
10 [ "$(basename ${file})" = "functions-common" ] && continue
11
12 . ${file}
13 done
14