mirror of http://192.168.10.4:8099/sane/dpkg.git
shell
This commit is contained in:
parent
cc62956f81
commit
4175004e25
6
build.sh
6
build.sh
|
@ -225,12 +225,18 @@ sed -i "1s/.*/$packagename/g" dpkg/$syspath/$oem/DEBIAN/control
|
|||
sed -i "2s/.*/$Version/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||
sed -i "3s/.*/$Architecture/g" dpkg/$syspath/$oem/DEBIAN/control
|
||||
rm dpkg/$syspath/$oem/etc/udev/rules.d/*
|
||||
|
||||
cp dpkg/60-sane.rules dpkg/$syspath/$oem/etc/udev/rules.d/60-"$oem"sane.rules
|
||||
|
||||
if [ -d "dpkg/$syspath/$oem/usr/lib" ];then
|
||||
mv dpkg/$syspath/$oem/usr/lib/* dpkg/$syspath/$oem/usr/lib/$libpath
|
||||
rm dpkg/$syspath/$oem/usr/lib/$libpath/sane/*
|
||||
if [ "$oem" == "lscsm" ];then
|
||||
cp release/$syspath/$cpu/libsane-lscsane.so dpkg/$syspath/$oem/usr/lib/$libpath/sane/libsane-lscsane.so.1
|
||||
else
|
||||
cp release/$syspath/$cpu/libsane-"$oem"sane.so dpkg/$syspath/$oem/usr/lib/$libpath/sane/libsane-"$oem"sane.so.1
|
||||
fi
|
||||
|
||||
echo "11111111111111111111111111111111111111111111111111111"
|
||||
sleep 3
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue