Skip to content

Commit

Permalink
Implemented usage of #!/usr/bin/env bash/sh instead of hardcoded path
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik committed Dec 22, 2023
1 parent 9147d6e commit 571689a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Checking if the script is runned as root (via sudo or other)
if [[ $(id -u) != 0 ]]
Expand Down
2 changes: 1 addition & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [[ $(id -u) != 0 ]]
then
Expand Down

0 comments on commit 571689a

Please sign in to comment.