/bin
This commit is contained in:
parent
06d5c456a9
commit
2c9d523f9d
1 changed files with 2 additions and 4 deletions
6
spkg
6
spkg
|
@ -3,11 +3,9 @@ source="https://git.hippoz.xyz/duck/repo/raw/branch/master"
|
||||||
tmpdir="/tmp"
|
tmpdir="/tmp"
|
||||||
setup() {
|
setup() {
|
||||||
prefix=$1
|
prefix=$1
|
||||||
mkdir "${prefix}"/usr/
|
|
||||||
mkdir "${prefix}"/usr/bin
|
|
||||||
mkdir "${prefix}"/bin
|
mkdir "${prefix}"/bin
|
||||||
cp ./spkg "${prefix}"/usr/bin/spkg
|
cp ./spkg "${prefix}"/bin/spkg
|
||||||
chmod +x "${prefix}"/usr/bin/spkg
|
chmod +x "${prefix}"/bin/spkg
|
||||||
mkdir "${prefix}"/etc/
|
mkdir "${prefix}"/etc/
|
||||||
mv os-release "${prefix}"/etc/
|
mv os-release "${prefix}"/etc/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue