mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 19:00:19 +01:00
thinkpad-nixos: Fix issue with gpt script
This commit is contained in:
parent
f205eaf02f
commit
33821d8f68
1 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,9 @@
|
|||
(pkgs.writeShellScriptBin "gpt" ''
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -n "$2" ]; then
|
||||
if [[ "$1" = "--" ]]; then
|
||||
shift
|
||||
elif [[ -n "$2" ]]; then
|
||||
VER=" $1"
|
||||
shift
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue