some code moving

This commit is contained in:
artoo 2014-10-06 12:55:04 +02:00
parent 86cf01bb2c
commit 44793aa0a1
2 changed files with 25 additions and 25 deletions

View file

@ -12,11 +12,35 @@ if [[ -r @libdir@/functions.sh ]];then
source @libdir@/functions.sh
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
shopt -s nullglob
version=20141005
version=20141006
arch=$(uname -m)
pacman_conf_arch='default'

View file

@ -502,30 +502,6 @@ display_settings(){
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(){
msg2 "Moving $1 to ${pkgdir}"
mv *.${ext} ${pkgdir}/