8000 Add basic documentation to installation scripts. · github4f/reaction@1b5452a · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b5452a

Browse files
committed
Add basic documentation to installation scripts.
1 parent ce2c0e0 commit 1b5452a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

bin/docker/install-graphicsmagick.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#/bin/bash
22

33
touch /var/timestamp
4+
5+
# install graphicsmagick
46
apt-get update
57
apt-get -qq -y install --no-install-recommends graphicsmagick
8+
9+
# remove anything isntalled by apt in /usr/share/doc after starting this script
610
find /usr/share/doc \( -type f -o -empty \) -cnewer "/var/timestamp" -delete
11+
12+
# remove unnecessary apt files
713
apt-get clean
814
rm -rf /var/lib/apt/lists/*

bin/docker/install-mongodb.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
#/bin/bash
22

3+
# add the mongodb repo to get the latest release
34
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
45
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
6+
7+
# install the mongodb server binaries
58
apt-get update
69
apt-get -qq -y install --no-install-recommends adduser mongodb-org-server
10+
11+
# remove unnecessary apt files
712
apt-get clean
813
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)
0