OLD | NEW |
---|---|
1 @@include@@variables.include | |
2 | |
Michael Moss
2016/09/01 15:58:42
Probably the same REPOCONFIG issue here, since tho
| |
3 # Install the repository signing key (see also: | 1 # Install the repository signing key (see also: |
4 # https://www.google.com/linuxrepositories/) | 2 # https://www.google.com/linuxrepositories/) |
5 install_rpm_key() { | 3 install_rpm_key() { |
6 # Check to see if all keys already exists. | 4 # Check to see if all keys already exists. |
7 rpm -q gpg-pubkey-7fac5991-4615767f \ | 5 rpm -q gpg-pubkey-7fac5991-4615767f \ |
8 gpg-pubkey-d38b4796-570c8cd3 > /dev/null 2>&1 | 6 gpg-pubkey-d38b4796-570c8cd3 > /dev/null 2>&1 |
9 if [ "$?" -eq "0" ]; then | 7 if [ "$?" -eq "0" ]; then |
10 # Key already exists | 8 # Key already exists |
11 return 0 | 9 return 0 |
12 fi | 10 fi |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
372 get_lib_dir() { | 370 get_lib_dir() { |
373 if [ "$DEFAULT_ARCH" = "i386" ]; then | 371 if [ "$DEFAULT_ARCH" = "i386" ]; then |
374 LIBDIR=lib | 372 LIBDIR=lib |
375 elif [ "$DEFAULT_ARCH" = "x86_64" ]; then | 373 elif [ "$DEFAULT_ARCH" = "x86_64" ]; then |
376 LIBDIR=lib64 | 374 LIBDIR=lib64 |
377 else | 375 else |
378 echo Unknown CPU Architecture: "$DEFAULT_ARCH" | 376 echo Unknown CPU Architecture: "$DEFAULT_ARCH" |
379 exit 1 | 377 exit 1 |
380 fi | 378 fi |
381 } | 379 } |
OLD | NEW |