|
@@ -1057,6 +1057,35 @@ _detect_profile() {
|
|
fi
|
|
fi
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+_initconf() {
|
|
|
|
+ _initpath
|
|
|
|
+ if [ ! -f "$ACCOUNT_CONF_PATH" ] ; then
|
|
|
|
+ echo "#Account configurations:
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ " > $ACCOUNT_CONF_PATH
|
|
|
|
+ fi
|
|
|
|
+}
|
|
|
|
+
|
|
install() {
|
|
install() {
|
|
_initpath
|
|
_initpath
|
|
|
|
|
|
@@ -1120,6 +1149,9 @@ alias le.sh=\"$LE_WORKING_DIR/le.sh\"
|
|
|
|
|
|
installcronjob
|
|
installcronjob
|
|
|
|
|
|
|
|
+ if [ ! -f "$ACCOUNT_CONF_PATH" ] ; then
|
|
|
|
+ _initconf
|
|
|
|
+ fi
|
|
_info OK
|
|
_info OK
|
|
}
|
|
}
|
|
|
|
|