-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjust upgrade script, documentation
- Loading branch information
1 parent
5c3e376
commit e7f3990
Showing
3 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/usr/bin/env bash | ||
# LEMPDash Install script | ||
# Must be run with sudo priviliges | ||
|
||
# Make task scripts executlable | ||
chmod +x lempdash | ||
find ./tasks/ -type f -exec /bin/sh -c "file {} | grep -q executable && chmod +x {}" \; | ||
|
||
# Copy all the things | ||
# LEMPDash Upgrade script | ||
# Must be run with root priviliges | ||
|
||
# Copy all the things into /bin and /opt | ||
mkdir -p /opt/lempdash/tasks | ||
cp -R tasks /opt/lempdash | ||
cp lempdash /bin/ldash | ||
|
||
# Make task scripts executlable | ||
chmod +x /bin/ldash | ||
find /opt/lempdash/tasks/ -type f -exec /bin/sh -c "file {} | grep -q executable && chmod +x {}" \; | ||
|