add: a install depend package script
This commit is contained in:
14
tools/misc/insdeppkg.sh
Normal file
14
tools/misc/insdeppkg.sh
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DepPkgDir=./omc-dep-pkg
|
||||||
|
|
||||||
|
if [ $1 != "" ]; then
|
||||||
|
DepPkgDir=$1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Install omc depend package"
|
||||||
|
for pkgdir in ${DepPkgDir}/*; do
|
||||||
|
echo "Installing ${pkgdir} depend package ..."
|
||||||
|
cd ${pkgdir};
|
||||||
|
dpkg -i --ignore-depends= *.deb;
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user