Silence unwanted output
This commit is contained in:
parent
0253b3c9e6
commit
516fa441ca
5 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -13,5 +13,5 @@ then
|
|||
yes "" | sudo xone-get-firmware.sh;
|
||||
fi;
|
||||
|
||||
popd;
|
||||
popd > /dev/null;
|
||||
rm -rf "$contextRoot" > /dev/null;
|
||||
|
|
|
@ -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 | sha256sum | 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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -29,7 +29,7 @@ git config --global alias.markierig tag;
|
|||
|
||||
source ~/.bashrc;
|
||||
|
||||
if ! alias totsch
|
||||
if ! alias totsch > /dev/null 2>&1
|
||||
then
|
||||
{
|
||||
echo "";
|
||||
|
|
Loading…
Reference in a new issue