Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SnipeIt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OskarStenberg
SnipeIt
Commits
c23cdb0e
Commit
c23cdb0e
authored
Jan 10, 2019
by
shinayoshi
Committed by
snipe
Jan 10, 2019
Browse files
Options
Downloads
Patches
Plain Diff
Support Raspbian 9.x installs. (#6554)
* Updated code related to Raspbian. Tested on Raspbian 9.6.
parent
5e06d53d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
snipeit.sh
+7
-8
7 additions, 8 deletions
snipeit.sh
with
7 additions
and
8 deletions
snipeit.sh
+
7
−
8
View file @
c23cdb0e
...
...
@@ -115,7 +115,6 @@ install_packages () {
fi
done
;
;;
centos
)
for
p
in
$PACKAGES
;
do
if
yum list installed
"
$p
"
>
/dev/null 2>&1
;
then
...
...
@@ -552,8 +551,8 @@ case $distro in
fi
;;
raspbian
)
if
[
"
$version
"
=
=
"9.4"
]
;
then
# Install for Raspbian 9.
4
if
[
[
"
$version
"
=
~ ^9
]
]
;
then
# Install for Raspbian 9.
x
tzone
=
$(
cat
/etc/timezone
)
cat
>
/etc/apt/sources.list.d/10-buster.list
<<
EOL
deb http://mirrordirector.raspbian.org/raspbian/ buster main contrib non-free rpi
...
...
@@ -574,7 +573,7 @@ EOL
progress
echo
"* Installing Apache httpd, PHP, MariaDB and other requirements."
PACKAGES
=
"mariadb-server mariadb-client apache2 libapache2-mod-php php7.2 php7.2-mcrypt php7.2-curl php7.2-mysql php7.2-gd php7.2-ldap php7.2-zip php7.2-mbstring php7.2-xml php7.2-bcmath curl git unzip"
PACKAGES
=
"mariadb-server mariadb-client apache2 libapache2-mod-php
7.2
php7.2 php7.2-mcrypt php7.2-curl php7.2-mysql php7.2-gd php7.2-ldap php7.2-zip php7.2-mbstring php7.2-xml php7.2-bcmath curl git unzip"
install_packages
echo
"* Configuring Apache."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment