You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
244 B
Fish
17 lines
244 B
Fish
9 years ago
|
#!/usr/bin/env fish
|
||
|
|
||
9 years ago
|
# TODO: This is only a basic draft.
|
||
|
|
||
9 years ago
|
set -l return_code 0
|
||
|
|
||
9 years ago
|
set commands "omf help" "omf doctor" "omf install apt"
|
||
9 years ago
|
for cmd in $commands
|
||
|
echo \$ $cmd
|
||
|
if not eval $cmd
|
||
|
set return_code 1
|
||
|
end;
|
||
|
end;
|
||
|
|
||
9 years ago
|
|
||
|
exit $return_code
|