Commit 4740b88b authored by Vitaly Lipatov's avatar Vitaly Lipatov

update check_reqs.sh script, fix extra requires

parent d367c90b
apt
/bin/echo
coreutils
diffutils
eepm
/etc/bashrc
/etc/eepm/eepm.conf
file
findutils
gawk
grep
less
sed
......
#!/bin/sh
LIST="bin/epm-* bin/distr_info bin/serv-* bin/tools* bin/yum play.d/*.sh prescription.d/*.sh repack.d/*.sh"
if [ "$1" = "--detail" ] ; then
for i in bin/epm-* ; do
for i in $LIST ; do
echo
echo "==== $i:"
/usr/lib/rpm/shell.req $i
......@@ -9,5 +11,5 @@ if [ "$1" = "--detail" ] ; then
exit 0
fi
/usr/lib/rpm/shell.req bin/epm-* | sort -u | tee ./check_eepm.log
/usr/lib/rpm/shell.req $LIST | sort -u | tee ./check_eepm.log
git diff ./check_eepm.log
......@@ -32,8 +32,8 @@ case "$($DISTRVENDOR -d)" in
;;
esac
sudo odbcinst -i -d -f /opt/microsoft/msodbcsql17/etc/odbcinst.ini
sudo odbcinst -q -d
$SUDO odbcinst -i -d -f /opt/microsoft/msodbcsql17/etc/odbcinst.ini
$SUDO odbcinst -q -d
cat <<EOF
......
......@@ -20,7 +20,7 @@ fi
epm install "https://repo.yandex.ru/yandex-browser/deb/pool/main/y/$PKGNAME/$(epm print constructname $PKGNAME "*" amd64 deb)" || exit
# used in update-ffmpeg
epm install jq tar binutils || exit
epm install --skip-installed jq tar binutils || exit
# install appropriate ffmpeg extra codecs
pack_ffmpeg() {
......@@ -29,7 +29,7 @@ pack_ffmpeg() {
mkdir -p .$DEST
cp $SOURCE .$DEST
CNAME=$(echo "$(basename $SUITABLE_URLS)" | sed -e "s|chromium|$PKGNAME|" -e "s|-0ubuntu.*|-1.tar|")
tar cvf $CNAME ./$(dirname $DEST)
a='' tar cvf $CNAME ./$(dirname $DEST)
epm --repack install $CNAME
}
......
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