4 ULI_ROOT
=/usr
/share
/ulipad
5 ULI_LINK
=(UliPad.pyw acp contrib doc images mixins modules
6 packages resources scripts tools ulipad.ico wizard
)
11 install -dm755 "$ULI_HOME"
13 for link
in ${ULI_LINK[@]}; do ln -sf $ULI_ROOT/$link "$ULI_HOME"; done
14 cp -r $ULI_ROOT/{UliPad.py
,conf
,lang
,plugins
} $ULI_HOME
16 find "$ULI_HOME" -type d
-exec chmod 755 '{}' \
;
17 find "$ULI_HOME" -type f
-exec chmod 644 '{}' \
;
19 touch "$ULI_HOME"/.
$ULI_VERS
22 [[ ! -e $ULI_HOME/.
$ULI_VERS ]] && create_local
24 python2 UliPad.py
"$@" 2> "$ULI_HOME"/error.txt