Fixed empty folders
This commit is contained in:
parent
9c6d9edeb4
commit
83166d8e62
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
cowtool
|
./cowtool
|
||||||
|
0
structure/cowtool/disabled/.keep
Normal file
0
structure/cowtool/disabled/.keep
Normal file
0
structure/cowtool/enabled/.keep
Normal file
0
structure/cowtool/enabled/.keep
Normal file
37
structure/cowtool/install_template.sh
Normal file
37
structure/cowtool/install_template.sh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
|
||||||
|
### This is the template bash file used by cowtool ###
|
||||||
|
|
||||||
|
|
||||||
|
### Prep ###
|
||||||
|
startdir=$(pwd)
|
||||||
|
|
||||||
|
|
||||||
|
### Entering workspace ###
|
||||||
|
echo "Entering workspace..."
|
||||||
|
mkdir /sources/cowtool/buildspace
|
||||||
|
cd /sources/cowtool/buildspace
|
||||||
|
|
||||||
|
|
||||||
|
### Obtaining package source ###
|
||||||
|
echo "Fetching source..."
|
||||||
|
git clone <url> <name>
|
||||||
|
|
||||||
|
### Entering source ###
|
||||||
|
echo "Entering source..."
|
||||||
|
cd <name>
|
||||||
|
|
||||||
|
### Building package ###
|
||||||
|
echo "Building package..."
|
||||||
|
make
|
||||||
|
|
||||||
|
### Installing package ###
|
||||||
|
echo "Installing package..."
|
||||||
|
make install
|
||||||
|
|
||||||
|
### Cleaning up ###
|
||||||
|
echo "Cleaning up..."
|
||||||
|
cd $startdir
|
||||||
|
rm -rf /sources/cowtool/buildspace/<name>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user