Skip to content

Commit

Permalink
missing [
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed May 10, 2024
1 parent ae0c4fc commit 6e8786f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ echo "Configuration files installation"
echo "id : ${ID}"
if [[ "${ID}" == "arch" ]]; then
cp resources/arch_sr_pam.conf /etc/pam.d/sr || exit;
elif [[ "${ID}" == "ubuntu" ]] || [ "${ID}" == "debian" ]]; then
elif [[ "${ID}" == "ubuntu" ]] || [[ "${ID}" == "debian" ]]; then
cp resources/deb_sr_pam.conf /etc/pam.d/sr || exit;
elif [[ "${ID}" == "centos" ]] || [ "${ID}" == "fedora" ]] || [[ "${ID}" == *"rhel"* ]]; then
elif [[ "${ID}" == "centos" ]] || [[ "${ID}" == "fedora" ]] || [[ "${ID}" == *"rhel"* ]]; then
cp resources/rh_sr_pam.conf /etc/pam.d/sr || exit;
else
echo "Unable to find a supported distribution, exiting..."
Expand Down

0 comments on commit 6e8786f

Please sign in to comment.