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