diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 17:47:44 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 17:47:44 +0100 |
commit | 4bac1f97b9990e70d71639ed1678a4256cc26098 (patch) | |
tree | 67500bfe9f22454328114327afe5cf8f92b1c717 /src/xi.sh | |
parent | 9752813e90d663aab55c33d3877886a9013f36db (diff) |
added default cmd option
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-x | src/xi.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -247,9 +247,8 @@ else usage ;; *) - checkroot - $DO_SYNC && sync - install $@ + + sudo $0 ${DEFAULT_OPTION:-install} $@ ;; esac fi |