hbons / Dazzle

A script to easily set up a SparkleShare host
158 stars 58 forks source link

FreeBSD compatibility #24

Closed alanpearce closed 11 years ago

alanpearce commented 11 years ago

This patch allows FreeBSD to run dazzle setup, provided the dazzle user is already created.

The useradd invocations will not work on FreeBSD, but #10 should allow that to be handled gracefully.

hbons commented 11 years ago

i'm not a fan of using short form options in scripts as they make things less readable. if you can keep the long form options in the echo " -> ..." so that the commands are still readable (even though they won't technically work on BSD) lines i will merge this.

alanpearce commented 11 years ago

I agree with your comment on short forms, I'm not a fan either. I found it rather bizarre that FreeBSD doesn't support them at all. I'll change the echo lines to be more verbose, that makes a lot of sense.

alanpearce commented 11 years ago

There we go. All the echo lines are as they were.

hbons commented 11 years ago

merged this. thanks!