add: a install depend package script
This commit is contained in:
1 parent
e6d132982a
commit
ea689944dc
1 file changed
+14
@@ -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