diff options
-rwxr-xr-x | installers/pc.sh | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/installers/pc.sh b/installers/pc.sh index bd83df7..06a91ff 100755 --- a/installers/pc.sh +++ b/installers/pc.sh @@ -58,17 +58,9 @@ main() printf '\n======================\n\n' mountpoint="$(mount_fs "${dev}")" - "${0%installers/pc.sh}./miniprokit.sh" install \ - -a "${host_arch}" -P "${host_plat}" \ + "${0%installers/pc.sh}src/prokit" install \ + -a "${host_arch}" -p "${host_plat}" \ ${mirror:+-m} ${mirror} "${mountpoint}" - mirror="$(printf '%s\n' "${mirror}" | \ - sed 's|^.*://||; s|^.*@||; s|/.*$||g;')" - printf '%s %s\n' "$(nslookup "${mirror}" | \ - sed -n '/Address: /{ s/Address: //; p; q; };')" \ - "${mirror}" >"${mountpoint}/etc/hosts" - "${0%installers/pc.sh}./miniprokit.sh" shell "${mountpoint}" \ - <"${0%pc.sh}data/pc.sh" - rm "${mountpoint}/etc/hosts" umount_fs "${mountpoint}" } |