mkupdate: Set update folder according to vendor.
This commit is contained in:
parent
fa4d1cf7f5
commit
8b15f2d169
@ -24,12 +24,12 @@
|
|||||||
|
|
||||||
update_tool()
|
update_tool()
|
||||||
{
|
{
|
||||||
rsync -v "$1" root@"$2":/opt/lsts/glued/
|
rsync -v "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp "$1" root@"$2":/opt/lsts/glued/
|
scp "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user