diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 908de921..4379295b 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -509,9 +509,6 @@ function install_pleroma { fi - # create user - useradd -d $PLEROMA_DIR -s /bin/false pleroma - # get the repo if [ -d /repos/pleroma ]; then mkdir -p $PLEROMA_DIR @@ -529,6 +526,10 @@ function install_pleroma { fi + # create user + useradd -d $PLEROMA_DIR -s /bin/false pleroma + + # checkout the commit cd $PLEROMA_DIR git checkout $PLEROMA_COMMIT -b $PLEROMA_COMMIT