summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xi.sh b/src/xi.sh
index 4b66025..12e9243 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -247,9 +247,8 @@ else
usage
;;
*)
- checkroot
- $DO_SYNC && sync
- install $@
+
+ sudo $0 ${DEFAULT_OPTION:-install} $@
;;
esac
fi