Skip to content

Commit

Permalink
Merge pull request #156 from open-power/perl_link_update
Browse files Browse the repository at this point in the history
to add check for perl link creation during HTX install
  • Loading branch information
mehuljpatel authored Jul 10, 2019
2 parents e43edc9 + 85d5166 commit 9f92fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ echo -ne "\nFinishing Installation..." | tee -a ${INSTALL_LOG_FILE}
[[ -f $INSTALL_PATH/htx/etc/scripts/htx.d ]] && cp -f $INSTALL_PATH/htx/etc/scripts/htx.d /etc/init.d
echo -e "[OK]" | tee -a ${INSTALL_LOG_FILE}
echo -ne "\nCopying HTX Binaries..." | tee -a ${INSTALL_LOG_FILE}
ln -sf /usr/bin/perl /bin/perl >> ${INSTALL_LOG_FILE} 2>&1
[[ -f /bin/perl ]] && ln -s /usr/bin/perl /bin/perl >> ${INSTALL_LOG_FILE} 2>&1
if [ "$OS" != "RedHat" ];
then
ln -sf /usr/bin/awk /bin/awk >> ${INSTALL_LOG_FILE} 2>&1
Expand Down
2 changes: 1 addition & 1 deletion packaging/ubuntu/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ case "$1" in
mkdir -p /var/log
echo "/usr/lpp/htx" > /var/log/htx_install_path
[[ -f /usr/lpp/htx/etc/scripts/htx.d ]] && cp -f /usr/lpp/htx/etc/scripts/htx.d /etc/init.d
ln -sf /usr/bin/perl /bin/perl
[[ -f /bin/perl ]] || ln -s /usr/bin/perl /bin/perl
ln -sf /usr/bin/awk /bin/awk
ln -sf /usr/lpp/htx/bin/htxcmdline /bin/htxcmdline
ln -sf /usr/lpp/htx/bin/htxcmdline /bin/hcl
Expand Down

0 comments on commit 9f92fe8

Please sign in to comment.