and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

...
 
Commits (2)
{
"editor.autoSave": "on",
"editor.autoSaveDelay": 500
}
\ No newline at end of file
#!/bin/bash
UB_DIR="$HOME/.csLinuxPatcher/src"
DEFAULT_UUPSTREAM_REPO="https://github.com/AnimeKaizoku/SibylSystem"
# Currently, this script requires arguments to continue.
# Contributions wanted!
UB_DIR="$HOME/.csLinuxPatcher/src"
DEFAULT_UPSTREAM_REPO="https://github.com/AnimeKaizoku/SibylSystem"
reset-repo-online() {
case $2 in
......@@ -29,37 +31,37 @@ reset-repo-online() {
esac
}
https://stackoverflow.com/a/7069755
# https://stackoverflow.com/a/7069755
if [ -z "$1" ]
then
echo "$0: No arguments detected. See the -h flag for usage."
exit 1
fi
while test $# -gt 0; do
case "$1" in
-h|--help)
echo "./bin/remove-patches - Removes Linux UB Patches magically with git reset."
echo " "
echo "$0 [options]"
echo "Usage: $0 [option]"
echo " "
echo "Options:"
echo "-h, --help show brief help"
echo "-f, --force-reset forcefully resets local repo"
echo "-l, --local-reset specify a directory to store output in"
echo "-u, --upstream pull commits from upstream repo (defaults to github:AnimeKaizoku/SibylSystem)"
echo "-r, --upstream-repo=<SSH/HTTP GIT REPO>
echo "-h, --help show brief help"
echo "--start start the reset process (when prompted, press y to continue)"
echo "-f, --force-reset forcefully resets local repo, hence skipping the prompts"
echo "-l, --local-reset specify a directory to store output in"
echo "-u, --upstream pull commits from upstream repo (defaults to github:AnimeKaizoku/SibylSystem)"
echo "-r, --upstream-repo=<GIT REPO>"
exit 0
;;
-a)
shift
if test $# -gt 0; then
export PROCESS=$1
else
echo "no process specified"
exit 1
fi
shift
-f|--force-reset)
reset-repo-online
;;
--action)
export PROCESS=`echo $1 | sed -e 's/^[^=]*=//g'`
shift
;;
-o)
-u)
shift
if test $# -gt 0; then
export OUTPUT=$1
......@@ -74,8 +76,6 @@ while test $# -gt 0; do
shift
;;
*)
echo "No arguments detected. See the -h flag for usage."
exit 1
;;
esac
done