OLD | NEW |
| 1 @@include@@variables.include |
| 2 |
1 APT_GET="`which apt-get 2> /dev/null`" | 3 APT_GET="`which apt-get 2> /dev/null`" |
2 APT_CONFIG="`which apt-config 2> /dev/null`" | 4 APT_CONFIG="`which apt-config 2> /dev/null`" |
3 | 5 |
4 SOURCES_PREAMBLE="### THIS FILE IS AUTOMATICALLY CONFIGURED ### | 6 SOURCES_PREAMBLE="### THIS FILE IS AUTOMATICALLY CONFIGURED ### |
5 # You may comment out this entry, but any other modifications may be lost.\n" | 7 # You may comment out this entry, but any other modifications may be lost.\n" |
6 | 8 |
7 # Parse apt configuration and return requested variable value. | 9 # Parse apt configuration and return requested variable value. |
8 apt_config_val() { | 10 apt_config_val() { |
9 APTVAR="$1" | 11 APTVAR="$1" |
10 if [ -x "$APT_CONFIG" ]; then | 12 if [ -x "$APT_CONFIG" ]; then |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 get_lib_dir() { | 275 get_lib_dir() { |
274 if [ "$DEFAULT_ARCH" = "i386" ]; then | 276 if [ "$DEFAULT_ARCH" = "i386" ]; then |
275 LIBDIR=lib/i386-linux-gnu | 277 LIBDIR=lib/i386-linux-gnu |
276 elif [ "$DEFAULT_ARCH" = "amd64" ]; then | 278 elif [ "$DEFAULT_ARCH" = "amd64" ]; then |
277 LIBDIR=lib/x86_64-linux-gnu | 279 LIBDIR=lib/x86_64-linux-gnu |
278 else | 280 else |
279 echo Unknown CPU Architecture: "$DEFAULT_ARCH" | 281 echo Unknown CPU Architecture: "$DEFAULT_ARCH" |
280 exit 1 | 282 exit 1 |
281 fi | 283 fi |
282 } | 284 } |
OLD | NEW |