equal
deleted
inserted
replaced
1 #!/bin/ksh93 |
1 #!/bin/ksh93 |
2 |
2 |
3 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
4 # |
4 # |
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may |
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may |
6 # not use this file except in compliance with the License. You may obtain |
6 # not use this file except in compliance with the License. You may obtain |
7 # a copy of the License at |
7 # a copy of the License at |
8 # |
8 # |
398 file=$(/usr/bin/aimanifest add -r $swpath/source/file@uri $ARCHIVE_URI) |
398 file=$(/usr/bin/aimanifest add -r $swpath/source/file@uri $ARCHIVE_URI) |
399 if [[ -n "$AUTH_TOKEN" ]]; then |
399 if [[ -n "$AUTH_TOKEN" ]]; then |
400 /usr/bin/aimanifest add $file/credentials/http_auth_token $AUTH_TOKEN |
400 /usr/bin/aimanifest add $file/credentials/http_auth_token $AUTH_TOKEN |
401 fi |
401 fi |
402 inspath=$(/usr/bin/aimanifest add -r $swpath/software_data@action install) |
402 inspath=$(/usr/bin/aimanifest add -r $swpath/software_data@action install) |
403 /usr/bin/aimanifest add $inspath/name global |
403 /usr/bin/aimanifest add $inspath/name "*" |
404 fi |
404 fi |
405 |
405 |
406 if [[ -n "$PUBLISHERS" || -n "$FMRI" ]]; then |
406 if [[ -n "$PUBLISHERS" || -n "$FMRI" ]]; then |
407 if [[ -n "$ARCHIVE_URI" ]]; then |
407 if [[ -n "$ARCHIVE_URI" ]]; then |
408 # All software was removed, so add back stub IPS software |
408 # All software was removed, so add back stub IPS software |