mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-26 01:43:06 +03:00
23 lines
No EOL
460 B
Bash
23 lines
No EOL
460 B
Bash
#!/bin/bash
|
|
|
|
#
|
|
# Bash script for the creation of the easyappointments.zip
|
|
#
|
|
|
|
clear
|
|
|
|
rm -f easyappointments.zip
|
|
rm -rf .tmp-package/**
|
|
|
|
mkdir .tmp-package
|
|
cp -rf src/** .tmp-package
|
|
rm -f .tmp-package/config.php
|
|
mv -f .tmp-package/config-sample.php .tmp-package/config.php
|
|
cp CHANGELOG.md .tmp-package/CHANGELOG.md
|
|
cp LICENSE .tmp-package/LICENSE
|
|
cp README.md .tmp-package/README.md
|
|
|
|
cd .tmp-package
|
|
zip -r ../easyappointments.zip ./*
|
|
cd ..
|
|
rm -rf .tmp-package |