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

update check_reqs.sh script, fix extra requires

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