mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
whitespace cleanup
This commit is contained in:
parent
3d8e850505
commit
6c81fd7759
@ -51,8 +51,8 @@ source "$os_release"
|
|||||||
if [[ "$ID" = rhel || "$ID_LIKE" = *rhel* ]]; then
|
if [[ "$ID" = rhel || "$ID_LIKE" = *rhel* ]]; then
|
||||||
FAMILY=rhel
|
FAMILY=rhel
|
||||||
if [ "$ID" != rhel ] && [ "$ID" != rocky ]; then
|
if [ "$ID" != rhel ] && [ "$ID" != rocky ]; then
|
||||||
echo "For Red Hat family distros, the Wally install script has only been tested on RHEL and Rocky Linux. Your distro \
|
printf "%s\n" "For Red Hat family distros, the Wally install script has only been tested on RHEL and Rocky Linux. Your distro " \
|
||||||
is $PRETTY_NAME. The regular Red Hat install will be attempted, but there will likely be issues."
|
"is $PRETTY_NAME. The regular Red Hat install will be attempted, but there will likely be issues."
|
||||||
fi
|
fi
|
||||||
if [ "${VERSION_ID:0:1}" = 8 ]; then
|
if [ "${VERSION_ID:0:1}" = 8 ]; then
|
||||||
RHEL_VERSION=8
|
RHEL_VERSION=8
|
||||||
@ -65,13 +65,13 @@ is $PRETTY_NAME. The regular Red Hat install will be attempted, but there will l
|
|||||||
elif [[ "$ID" = ubuntu || "$ID_LIKE" = *ubuntu* ]]; then
|
elif [[ "$ID" = ubuntu || "$ID_LIKE" = *ubuntu* ]]; then
|
||||||
FAMILY=ubuntu
|
FAMILY=ubuntu
|
||||||
if [ "$ID" != ubuntu ]; then
|
if [ "$ID" != ubuntu ]; then
|
||||||
echo "For Ubuntu family distros, the Wally install script has only been tested on standard Ubuntu. Your distro \
|
printf "%s\n" "For Ubuntu family distros, the Wally install script has only been tested on standard Ubuntu. Your distro " \
|
||||||
is $PRETTY_NAME. The regular Ubuntu install will be attempted, but there may be issues."
|
"is $PRETTY_NAME. The regular Ubuntu install will be attempted, but there may be issues."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "The Wally install script is currently only compatible with Ubuntu and Red Hat family \
|
printf "%s\n" "The Wally install script is currently only compatible with Ubuntu and Red Hat family " \
|
||||||
(RHEL or Rocky Linux) distros. Your detected distro is $PRETTY_NAME. You may try manually running the \
|
"(RHEL or Rocky Linux) distros. Your detected distro is $PRETTY_NAME. You may try manually running the " \
|
||||||
commands in this script, but it is likely that some will need to be altered."
|
"commands in this script, but it is likely that some will need to be altered."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ export PATH=$PATH:$RISCV/bin:/usr/bin
|
|||||||
export PKG_CONFIG_PATH=$RISCV/lib64/pkgconfig:$RISCV/lib/pkgconfig:$RISCV/share/pkgconfig:$PKG_CONFIG_PATH
|
export PKG_CONFIG_PATH=$RISCV/lib64/pkgconfig:$RISCV/lib/pkgconfig:$RISCV/share/pkgconfig:$PKG_CONFIG_PATH
|
||||||
mkdir -p "$RISCV"
|
mkdir -p "$RISCV"
|
||||||
|
|
||||||
echo -e "Detected information"
|
echo "Detected information"
|
||||||
echo "Distribution: $PRETTY_NAME"
|
echo "Distribution: $PRETTY_NAME"
|
||||||
echo "Version: $VERSION"
|
echo "Version: $VERSION"
|
||||||
echo "Running as root: $ROOT"
|
echo "Running as root: $ROOT"
|
||||||
|
Loading…
Reference in New Issue
Block a user