Skip to content

Commit

Permalink
fix typo in one script information output by changing hardcoded scrip…
Browse files Browse the repository at this point in the history
…t name with variable parameter
  • Loading branch information
mars4science committed Jun 27, 2024
1 parent a8e6e0b commit 89236c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apt_get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ -e "${commons_path}" ] ; then
If dpkg status and/or apt sources not found at supplied location, substitution not done.\n"
display_help "$help_message$common_help"
else
if [ "x$1" = "xinstall" ] ; then echo "apt_get not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
if [ "x$1" = "xinstall" ] ; then echo "$(basename $(realpath ${0})) is not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
fi

# ===== #
Expand Down
2 changes: 1 addition & 1 deletion apt_sources_replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ -e "${commons_path}" ] ; then
help_message=" The Script is written to update apt sources to set of packages from the location: ${debian_archives} or from path given as argument to the script\n"
display_help "$help_message$common_help"
else
if [ "x$1" = "xinstall" ] ; then echo "apt_get not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
if [ "x$1" = "xinstall" ] ; then echo "$(basename $(realpath ${0})) is not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
fi

# ===== #
Expand Down
2 changes: 1 addition & 1 deletion apt_sources_restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -e "${commons_path}" ] ; then
help_message=" The Script is written to restore apt sources if previously replaced by counterpart of this script (apt_sources_replace.sh)\n"
display_help "$help_message$common_help"
else
if [ "x$1" = "xinstall" ] ; then echo "apt_get not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
if [ "x$1" = "xinstall" ] ; then echo "$(basename $(realpath ${0})) is not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
fi

# ===== #
Expand Down
2 changes: 1 addition & 1 deletion download_debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -e "${commons_path}" ] ; then
If called w/out any parameters, default location is used : '${packages_to_install}'\n"
display_help "$help_message$common_help"
else
if [ "x$1" = "xinstall" ] ; then echo "download_debs not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
if [ "x$1" = "xinstall" ] ; then echo "$(basename $(realpath ${0})) is not going to be installed due to not locating common_arguments_to_scripts.sh"; exit 1; fi
fi

# ----- processing command line arguments ----- #
Expand Down

0 comments on commit 89236c6

Please sign in to comment.