mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Update mkpackage.sh
This commit is contained in:
parent
8a00db6458
commit
8d116aaac8
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
echo "Bitte warten... Please wait..."
|
||||
|
||||
# Create directories
|
||||
mkdir "$2"
|
||||
cd "$2"
|
||||
|
@ -8,6 +9,7 @@ mkdir usr
|
|||
mkdir usr/bin
|
||||
mkdir usr/share
|
||||
cp -r "$1" usr/share/simpsh-httpd
|
||||
|
||||
# Copy some files
|
||||
echo 'cd /usr/share/simpsh-httpd
|
||||
./main.sh' > usr/bin/simpsh-httpd
|
||||
|
@ -16,4 +18,5 @@ echo 'cd /usr/share/simpsh-httpd/
|
|||
mv usr/share/simpsh-httpd/config.sh etc/simpsh-httpd
|
||||
ln -sf /etc/simpsh-httpd/config.sh usr/share/simpsh-httpd/config.sh
|
||||
chmod -R a+x .
|
||||
|
||||
echo "Fertig! Done!"
|
||||
|
|
Loading…
Add table
Reference in a new issue