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..."
|
echo "Bitte warten... Please wait..."
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
mkdir "$2"
|
mkdir "$2"
|
||||||
cd "$2"
|
cd "$2"
|
||||||
|
@ -8,6 +9,7 @@ mkdir usr
|
||||||
mkdir usr/bin
|
mkdir usr/bin
|
||||||
mkdir usr/share
|
mkdir usr/share
|
||||||
cp -r "$1" usr/share/simpsh-httpd
|
cp -r "$1" usr/share/simpsh-httpd
|
||||||
|
|
||||||
# Copy some files
|
# Copy some files
|
||||||
echo 'cd /usr/share/simpsh-httpd
|
echo 'cd /usr/share/simpsh-httpd
|
||||||
./main.sh' > usr/bin/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
|
mv usr/share/simpsh-httpd/config.sh etc/simpsh-httpd
|
||||||
ln -sf /etc/simpsh-httpd/config.sh usr/share/simpsh-httpd/config.sh
|
ln -sf /etc/simpsh-httpd/config.sh usr/share/simpsh-httpd/config.sh
|
||||||
chmod -R a+x .
|
chmod -R a+x .
|
||||||
|
|
||||||
echo "Fertig! Done!"
|
echo "Fertig! Done!"
|
||||||
|
|
Loading…
Add table
Reference in a new issue