mirror of
https://github.com/icewind1991/nvidia-patch-nixos.git
synced 2026-06-03 19:14:06 +02:00
cleanup
This commit is contained in:
parent
88e3b97f20
commit
e12e95c563
1 changed files with 0 additions and 23 deletions
|
|
@ -1,23 +0,0 @@
|
|||
diff --git a/patch-fbc.sh b/patch.sh
|
||||
index 03bd467..2e78af9 100644
|
||||
--- a/patch.sh
|
||||
+++ b/patch.sh
|
||||
@@ -406,12 +406,9 @@ list_supported_versions () {
|
||||
get_supported_versions
|
||||
}
|
||||
|
||||
-case "${opmode}" in
|
||||
- patch) patch ;;
|
||||
- patchrollback) rollback ;;
|
||||
- patchhelp) print_usage ; exit 2 ;;
|
||||
- patchcheckversion) query_version_support ;;
|
||||
- patchlistversions) list_supported_versions ;;
|
||||
- *) echo "Incorrect combination of flags. Use option -h to get help."
|
||||
- exit 2 ;;
|
||||
-esac
|
||||
+for i in "${!object_list[@]}"
|
||||
+do
|
||||
+ echo "$i"
|
||||
+ echo "${object_list[$i]}"
|
||||
+done |
|
||||
+jq -n -R 'reduce inputs as $i ({}; . + { ($i): (input|(tonumber? // .)) })'
|
||||
Loading…
Add table
Add a link
Reference in a new issue