X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=python3-osm-common.postinst;fp=python3-osm-common.postinst;h=62b04ec52e10825ce74adb34585eab6d1e3dd3a7;hb=c312cc16478c47244db89f8e4ed9277b0d3f9ada;hp=0000000000000000000000000000000000000000;hpb=ebbf35359cebd00c42afc93f0d65ab61b38ad70a;p=osm%2Fcommon.git diff --git a/python3-osm-common.postinst b/python3-osm-common.postinst new file mode 100755 index 0000000..62b04ec --- /dev/null +++ b/python3-osm-common.postinst @@ -0,0 +1,29 @@ +#!/bin/bash + +## +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact with: OSM_TECH@list.etsi.org +## + +echo "POST INSTALL OSM-COMMON" +echo "Install aiokafka with pip" + +pip3 install pip==9.0.3 +pip3 install --upgrade aiokafka +# pip install --upgrade pyang pyangbind + +#Creation of log folder +mkdir -p /var/log/osm +