forked from mirrored-repos/manjaro-tools
some code moving
This commit is contained in:
parent
86cf01bb2c
commit
44793aa0a1
2 changed files with 25 additions and 25 deletions
|
@ -12,11 +12,35 @@ if [[ -r @libdir@/functions.sh ]];then
|
||||||
source @libdir@/functions.sh
|
source @libdir@/functions.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
run(){
|
||||||
|
eval "case ${profile} in
|
||||||
|
$profiles)
|
||||||
|
is_profile=true
|
||||||
|
if ${pretend}; then
|
||||||
|
display_settings
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
display_settings
|
||||||
|
chroot_build_set
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if ${pretend}; then
|
||||||
|
display_settings
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
display_settings
|
||||||
|
chroot_build
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac"
|
||||||
|
}
|
||||||
|
|
||||||
export LC_MESSAGES=C
|
export LC_MESSAGES=C
|
||||||
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
version=20141005
|
version=20141006
|
||||||
|
|
||||||
arch=$(uname -m)
|
arch=$(uname -m)
|
||||||
pacman_conf_arch='default'
|
pacman_conf_arch='default'
|
||||||
|
|
|
@ -502,30 +502,6 @@ display_settings(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
run(){
|
|
||||||
eval "case ${profile} in
|
|
||||||
$profiles)
|
|
||||||
is_profile=true
|
|
||||||
if ${pretend}; then
|
|
||||||
display_settings
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
display_settings
|
|
||||||
chroot_build_set
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
if ${pretend}; then
|
|
||||||
display_settings
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
display_settings
|
|
||||||
chroot_build
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac"
|
|
||||||
}
|
|
||||||
|
|
||||||
mv_pkg(){
|
mv_pkg(){
|
||||||
msg2 "Moving $1 to ${pkgdir}"
|
msg2 "Moving $1 to ${pkgdir}"
|
||||||
mv *.${ext} ${pkgdir}/
|
mv *.${ext} ${pkgdir}/
|
||||||
|
|
Loading…
Reference in a new issue