finalize make

parent 6dd753f3
...@@ -39,7 +39,7 @@ post_install () { ...@@ -39,7 +39,7 @@ post_install () {
if [[ ! $DISABLE_POSTINSTALL ]]; then if [[ ! $DISABLE_POSTINSTALL ]]; then
echo -e "\t${WHITE}+ ${MAGENTA}[04/04]${WHITE} post-installation tasks" echo -e "\t${WHITE}+ ${WHITE} post-installation tasks"
register_schemas --install register_schemas --install
update_cache update_cache
remove_old_wrappers remove_old_wrappers
...@@ -54,7 +54,7 @@ pre_remove () { ...@@ -54,7 +54,7 @@ pre_remove () {
if [[ ! $DISABLE_POSTREMOVE ]]; then if [[ ! $DISABLE_POSTREMOVE ]]; then
echo -e "${WHITE}+ ${MAGENTA}[01/02] pre-removal tasks" echo -e "${WHITE}+ pre-removal tasks"
register_schemas --remove register_schemas --remove
fi fi
......
...@@ -6,7 +6,7 @@ TERM_NUM=${#TERM_FILES[@]} ...@@ -6,7 +6,7 @@ TERM_NUM=${#TERM_FILES[@]}
generate_terminfo () { generate_terminfo () {
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[01/03]${WHITE} terminfos${CYAN} (${TERM_FILES[@]})" echo -e "\t${WHITE}+ ${WHITE} terminfos${CYAN} (${TERM_FILES[@]})"
for term in ${TERM_FILES[@]}; do for term in ${TERM_FILES[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$TERM_NUM]${WHITE} ${term}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$TERM_NUM]${WHITE} ${term}"
......
...@@ -11,7 +11,7 @@ NXRC_NUM=${#NXRC_LANGS[@]} ...@@ -11,7 +11,7 @@ NXRC_NUM=${#NXRC_LANGS[@]}
generate_pot () { generate_pot () {
echo -e "\t${WHITE}+ ${YELLOW}[01/01]${WHITE} .pot files" echo -e "\t${WHITE}+ ${WHITE} .pot files"
intltool-extract --type=gettext/glade ui/bashstyle7.ui >/dev/null intltool-extract --type=gettext/glade ui/bashstyle7.ui >/dev/null
xgettext -L python --keyword=_ --keyword=N_ --output=i18n/bs-ng.pot ui/bs-ng.py ui/bashstyle7.ui.h >/dev/null xgettext -L python --keyword=_ --keyword=N_ --output=i18n/bs-ng.pot ui/bs-ng.py ui/bashstyle7.ui.h >/dev/null
...@@ -24,7 +24,7 @@ generate_pot () { ...@@ -24,7 +24,7 @@ generate_pot () {
update_po () { update_po () {
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[01/03]${WHITE} UI .po files${CYAN} (${BSNG_LANGS[@]})" echo -e "\t${WHITE}+ ${WHITE} UI .po files${CYAN} (${BSNG_LANGS[@]})"
for lang in ${BSNG_LANGS[@]}; do for lang in ${BSNG_LANGS[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$BSNG_NUM]${WHITE} ${lang}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$BSNG_NUM]${WHITE} ${lang}"
...@@ -34,7 +34,7 @@ update_po () { ...@@ -34,7 +34,7 @@ update_po () {
done done
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[02/03]${WHITE} Wizard .po files${CYAN} (${WIZARD_LANGS[@]})" echo -e "\t${WHITE}+ ${WHITE} Wizard .po files${CYAN} (${WIZARD_LANGS[@]})"
for lang in ${WIZARD_LANGS[@]}; do for lang in ${WIZARD_LANGS[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$WIZARD_NUM]${WHITE} ${lang}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$WIZARD_NUM]${WHITE} ${lang}"
...@@ -45,7 +45,7 @@ update_po () { ...@@ -45,7 +45,7 @@ update_po () {
done done
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[03/03]${WHITE} NX-RC .po files${CYAN} (${NXRC_LANGS[@]})" echo -e "\t${WHITE}+ ${WHITE} NX-RC .po files${CYAN} (${NXRC_LANGS[@]})"
for lang in ${NXRC_LANGS[@]}; do for lang in ${NXRC_LANGS[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$NXRC_NUM]${WHITE} ${lang}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$NXRC_NUM]${WHITE} ${lang}"
...@@ -59,7 +59,7 @@ update_po () { ...@@ -59,7 +59,7 @@ update_po () {
generate_mo () { generate_mo () {
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[02/03]${WHITE} UI .mo files${CYAN} (${BSNG_LANGS[@]})" echo -e "\t${WHITE}+ ${WHITE} UI .mo files${CYAN} (${BSNG_LANGS[@]})"
for lang in ${BSNG_LANGS[@]}; do for lang in ${BSNG_LANGS[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$BSNG_NUM]${WHITE} ${lang}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$BSNG_NUM]${WHITE} ${lang}"
...@@ -69,7 +69,7 @@ generate_mo () { ...@@ -69,7 +69,7 @@ generate_mo () {
done done
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[02/03]${WHITE} Wizard .mo files${CYAN} (${WIZARD_LANGS[@]})" echo -e "\t${WHITE}+ ${WHITE} Wizard .mo files${CYAN} (${WIZARD_LANGS[@]})"
for lang in ${WIZARD_LANGS[@]}; do for lang in ${WIZARD_LANGS[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$WIZARD_NUM]${WHITE} ${lang}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$WIZARD_NUM]${WHITE} ${lang}"
...@@ -79,7 +79,7 @@ generate_mo () { ...@@ -79,7 +79,7 @@ generate_mo () {
done done
local CUR_NUM=1 local CUR_NUM=1
echo -e "\t${WHITE}+ ${YELLOW}[03/03]${WHITE} NX-RC .mo files${CYAN} (${NXRC_LANGS[@]})" echo -e "\t${WHITE}+ ${WHITE} NX-RC .mo files${CYAN} (${NXRC_LANGS[@]})"
for lang in ${NXRC_LANGS[@]}; do for lang in ${NXRC_LANGS[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$NXRC_NUM]${WHITE} ${lang}" echo -e "\t${WHITE} * ${SMOOTHBLUE}[$CUR_NUM/$NXRC_NUM]${WHITE} ${lang}"
......
...@@ -51,7 +51,7 @@ install_bsng () { ...@@ -51,7 +51,7 @@ install_bsng () {
local CUR_NUM=1 local CUR_NUM=1
fi fi
echo -e "\t${WHITE}+ ${GREEN}[02/04]${WHITE} data files" echo -e "\t${WHITE}+ ${WHITE} data files"
for file in ${DATA_FILES[@]} ${LOCALE_FILES[@]} ${DOC_FILES[@]} \ for file in ${DATA_FILES[@]} ${LOCALE_FILES[@]} ${DOC_FILES[@]} \
${PC_FILES[@]} ${ICON_FILES[@]}; do ${PC_FILES[@]} ${ICON_FILES[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
...@@ -69,7 +69,7 @@ install_bsng () { ...@@ -69,7 +69,7 @@ install_bsng () {
local CUR_NUM=1 local CUR_NUM=1
fi fi
echo -e "\t${WHITE}+ ${GREEN}[03/04]${WHITE} bin files" echo -e "\t${WHITE}+ ${WHITE} bin files"
for file in ${PROFILE_FILES[@]} ${BIN_FILES[@]}; do for file in ${PROFILE_FILES[@]} ${BIN_FILES[@]}; do
if [[ $VERBOSE == "true" ]]; then if [[ $VERBOSE == "true" ]]; then
inst bin "$file" $CUR_NUM $BIN_NUM inst bin "$file" $CUR_NUM $BIN_NUM
...@@ -82,7 +82,7 @@ install_bsng () { ...@@ -82,7 +82,7 @@ install_bsng () {
remove_bsng () { remove_bsng () {
echo -e "\t${WHITE}+ ${RED}[02/02]${WHITE} all files" echo -e "\t${WHITE}+ ${WHITE} all files"
for file in ${REMOVE_FILES[@]}; do for file in ${REMOVE_FILES[@]}; do
uninst "$file" uninst "$file"
done done
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
installdirs_create () installdirs_create ()
{ {
echo -e "\t${WHITE}+ ${GREEN}[01/04]${WHITE} directories" echo -e "\t${WHITE}+ ${WHITE} directories"
mkdir -p $DESTDIR/$DATADIR mkdir -p $DESTDIR/$DATADIR
for directory in ${DATADIR_LIST[@]}; do for directory in ${DATADIR_LIST[@]}; do
mkdir -p $DESTDIR/$DATADIR/$directory mkdir -p $DESTDIR/$DATADIR/$directory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment