GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — odootools/install_repos at common · vertelab/odootools

Expand file tree

/

install_repos

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
50 lines (40 loc) · 1.68 KB
/

install_repos

Copy path

File metadata and controls

executable file
·
50 lines (40 loc) · 1.68 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/bash
################################################################################
# #
# Installation of several Odoo-Repositories that are commonly used #
# #
################################################################################
TARGETDIR="/usr/share"
REPOPREFIX='odoo'
echo "Installing additional repos"
sudo odooextras.py repos
echo "Installing requirements with apt"
sudo apt update
sudo apt --yes upgrade
for repo in $(ls $TARGETDIR | grep ^$REPOPREFIX) ; do
REQUIREMENTS=$TARGETDIR/$repo/apt-requirements.txt
if [ -f $REQUIREMENTS ] ; then
echo "Installing requirements from: "$REQUIREMENTS
xargs -a $REQUIREMENTS -- sudo apt --yes install
fi
done
echo "Installing requirements with pip3"
for repo in $(ls $TARGETDIR | grep ^$REPOPREFIX) ; do
REQUIREMENTS=$TARGETDIR/$repo/requirements.txt
if test -f $REQUIREMENTS ; then
echo "Installing requirements from: "$REQUIREMENTS
sudo pip3 install -r $REQUIREMENTS
fi
done
echo "changing name on excludes l10n_se module so that it doesn't conflict with our own l10n_se module"
FILE=/usr/share/core-odoo/addons/l10n_se
if [ -f "$FILE" ]; then
echo "$FILE exists. Changing name of $FILE"
sudo mv /usr/share/core-odoo/addons/l10n_se /usr/share/core-odoo/addons/exclude_l10n_se
fi
FILE2=/usr/share/core-odoo/addons/l10n_se_ocr
if [ -f "$FILE2" ]; then
echo "$FILE2 exists. Changing name of $FILE2"
sudo mv /usr/share/core-odoo/addons/l10n_se_ocr /usr/share/core-odoo/addons/exclude_l10n_se_ocr
fi
echo "Install done!"
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.