Skip to content

Commit

Permalink
replace bash with sh (dash), add .dockerignore and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jarischaefer committed Jul 9, 2022
1 parent 15c068d commit afbb9a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
@@ -0,0 +1,3 @@
*
!post_install
!pre_install
Empty file added .gitignore
Empty file.
4 changes: 2 additions & 2 deletions post_install/etc/my_init.d/librenms_800_msphpsql
@@ -1,8 +1,8 @@
#!/bin/bash
#!/bin/sh

architecture=$(uname -m)

if [ "x86_64" == "$architecture" ]; then
if [ "x86_64" = "$architecture" ]; then
ln -sf /etc/php/8.1/mods-available/mssql.ini /etc/php/8.1/cli/conf.d/30-mssql.ini
ln -sf /etc/php/8.1/mods-available/mssql.ini /etc/php/8.1/fpm/conf.d/30-mssql.ini
else
Expand Down

0 comments on commit afbb9a9

Please sign in to comment.