xbps-src/shutils: remove unused $origin_tmpl stuff.
--HG-- extra : convert_revision : de50b832bdd8fc64c1a94856248e749eafac84c9
This commit is contained in:
parent
38496b3618
commit
16808930aa
2 changed files with 1 additions and 12 deletions
|
@ -281,12 +281,7 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
if [ -n "$origin_tmpl" ]; then
|
||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
reset_tmpl_vars
|
||||
cd ../$origin_tmpl && . template
|
||||
fi
|
||||
echo "The '$pkgname' package requires to be installed in a chroot."
|
||||
echo "This package requires to be installed in a chroot."
|
||||
echo "You cannot do this as normal user, try again being root."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue