Commit 21ab561f authored by Vitaly Lipatov's avatar Vitaly Lipatov

fixes by build warnings

parent 639c9b23
......@@ -49,7 +49,7 @@ case $PMTYPE in
sudocmd revdep-rebuild
;;
pacman)
sudocmd pacman -Qdtq | pacman -Rs -
sudocmd pacman -Qdtq | sudocmd pacman -Rs -
;;
slackpkg)
# clean-system removes non official packages
......
......@@ -69,7 +69,7 @@ __emerge_install_ebuild()
}
# install one ebuild
__emerge_install_tbgz2()
__emerge_install_tbz2()
{
local TGDIR=/usr/portage/packages/app-arch
mkdir -p $TGDIR
......
......@@ -157,6 +157,16 @@ fatal()
exit 1
}
# Print warning message
warning()
{
if [ -z "$TEXTDOMAIN" ] ; then
echo "Warning: $@" >&2
# else
# echog "Error in $0: $@" >&2
fi
}
set_sudo()
{
SUDO=""
......
......@@ -45,6 +45,9 @@ install -m 0755 packed/serv.sh %buildroot/%_datadir/%name/serv-packed.sh
mkdir -p %buildroot%_sysconfdir/bash_completion.d/
install -m 0644 bash_completion/serv %buildroot%_sysconfdir/bash_completion.d/serv
# shebang.req.files
chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
%files
%doc README TODO LICENSE
%_bindir/epm*
......
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