Silence unwanted output

This commit is contained in:
Manuel Thalmann 2024-03-09 21:45:50 +01:00
parent cdd5be5011
commit 336a9531a6
5 changed files with 8 additions and 8 deletions

View file

@ -11,4 +11,4 @@ sudo mkdir -p "$configDir";
echo "";
echo "[Wayland]";
echo "CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod maliit-keyboard";
} | sudo tee "$configDir/10-wayland.conf";
} | sudo tee "$configDir/10-wayland.conf" > /dev/null;

View file

@ -13,5 +13,5 @@ then
yes "" | sudo xone-get-firmware.sh;
fi;
popd;
popd > /dev/null;
rm -rf "$contextRoot" > /dev/null;

View file

@ -26,7 +26,7 @@ else
# Tamper manifest file
manifest="$(cat "$manifestFile" | jq ". + {key: "'"'"$(openssl rsa -in "$keyFile" -pubout -outform DER | openssl base64 -A)"'"'"}")";
echo "$manifest" | sudo -u "$1" tee "$manifestFile";
echo "$manifest" | sudo -u "$1" tee "$manifestFile" > /dev/null;
# Pack extension
extensionID="$(openssl rsa -in "$keyFile" -pubout -outform DER | shasum -a 256 | head -c32 | tr 0-9a-f a-p)";
@ -55,5 +55,5 @@ else
echo ' "external_crx": "'"$destination"'",';
echo ' "external_version": "'"$extensionVersion"'"';
echo "}";
} | tee "$EXTENSION_POLICY_DIR/$extensionID.json";
} | tee "$EXTENSION_POLICY_DIR/$extensionID.json" > /dev/null;
fi

View file

@ -3,9 +3,9 @@ contextRoot="$(mktemp -d)";
pushd "$contextRoot" > /dev/null;
git init;
git commit --allow-empty -m "Initial commit" > /dev/null;
git branch master || true;
git branch main || true;
git branch dev || true;
git branch master || true > /dev/null 2>&1;
git branch main || true > /dev/null 2>&1;
git branch dev || true > /dev/null 2>&1;
yes "" | git flow init > /dev/null 2>&1;
git flow config set --global master main > /dev/null;
git flow config set --global develop dev > /dev/null;

View file

@ -29,7 +29,7 @@ git config --global alias.markierig tag;
source ~/.bashrc;
if ! alias totsch
if ! alias totsch > /dev/null 2>&1
then
{
echo "";