Skip to content

Commit

Permalink
set stability to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Ziegler committed Jan 15, 2021
1 parent 869d9ef commit f4f1c29
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.phpunit.result.cache
/coverage/
nohup.out
/composer.phar
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"email": "tziegler@googlemail.com"
}
],
"minimum-stability": "dev",
"minimum-stability": "stable",
"license": "MIT",
"require": {
"php": "8.*",
Expand Down
17 changes: 17 additions & 0 deletions docker/clean-root-permissions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
if [[ "$EUID" -ne 0 ]]; then
cd "$(dirname "$0")"
cd ..
echo "find . -type f -name '*' | xargs chown ${USER}:${USER}" > temp.exec_as_sudo.sh
echo "run subscript: this only works with sudo ... "
echo "this will be executed:"
echo "----------------------------------------"
cat temp.exec_as_sudo.sh
echo "----------------------------------------"
sudo sh temp.exec_as_sudo.sh
rm temp.exec_as_sudo.sh
else
echo "NEVER RUN THIS AS SUDO ... "
echo "if you did already somehow, run this script again without sudo"
fi

0 comments on commit f4f1c29

Please sign in to comment.