forked from alnux/aps
ok the bug will be fixed, once i change the build to cd insert cd.
This commit is contained in:
parent
8c7a5d0e3a
commit
869216d369
4 changed files with 20 additions and 9 deletions
13
aps
13
aps
|
@ -41,7 +41,7 @@ run_package_script() {
|
||||||
{
|
{
|
||||||
if [ -x "${2}/${1}" ]; then
|
if [ -x "${2}/${1}" ]; then
|
||||||
echo ":: Running ${1}"
|
echo ":: Running ${1}"
|
||||||
cd "${2}" || die "Could not enter package working directory. Exiting..."
|
#cd "${2}" || die "Could not enter package working directory. Exiting..."
|
||||||
"${2}/${1}" "${2}/payload" "${2}"
|
"${2}/${1}" "${2}/payload" "${2}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -63,18 +63,19 @@ install_local_package() {
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
# Download sources.
|
# Download sources.
|
||||||
|
if [ -f sources ]; then
|
||||||
pkg_config_sources=$(cat sources)
|
pkg_config_sources=$(cat sources)
|
||||||
#pkg_config_sources_to=$(cat sources)
|
|
||||||
pkg_config_sources_to=$(echo ${pkg_config_sources} | sed 's:.*/::')
|
pkg_config_sources_to=$(echo ${pkg_config_sources} | sed 's:.*/::')
|
||||||
#pkg_config_sources_to_ex=$(echo ${pkg_config_sources_to} | sed 's/\..*$//')
|
|
||||||
curl -# ${pkg_config_sources} -o ${pkg_config_sources_to}
|
curl -# ${pkg_config_sources} -o ${pkg_config_sources_to}
|
||||||
mkdir ${pkg_name}
|
mkdir pkg_bd
|
||||||
tar -xf ${pkg_config_sources_to} -C ${pkg_name}
|
tar -xf 1 ${pkg_config_sources_to} -C ${pkg_path}
|
||||||
cd ${pkg_name}
|
fi
|
||||||
# Install package
|
# Install package
|
||||||
mkdir -p "${pkg_path}/payload"
|
mkdir -p "${pkg_path}/payload"
|
||||||
. "${pkg_path}/package"
|
. "${pkg_path}/package"
|
||||||
|
cd pkg_bd/
|
||||||
run_package_script "build" "${pkg_path}"
|
run_package_script "build" "${pkg_path}"
|
||||||
|
cd ../..
|
||||||
run_package_script "predeploy" "${pkg_path}"
|
run_package_script "predeploy" "${pkg_path}"
|
||||||
# Deploy package
|
# Deploy package
|
||||||
if [ "${pkg_config_deploy}" = true ]; then
|
if [ "${pkg_config_deploy}" = true ]; then
|
||||||
|
|
|
@ -13,6 +13,7 @@ if [ ${prefix} == / ]; then
|
||||||
kill 2
|
kill 2
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
export install_root=${prefix}
|
||||||
./aps sync alnux
|
./aps sync alnux
|
||||||
install -v aps ${prefix}/usr/bin/ &&
|
install -v aps ${prefix}/usr/bin/ &&
|
||||||
install -v altools/sel ${prefix}/usr/bin/ &&
|
install -v altools/sel ${prefix}/usr/bin/ &&
|
||||||
|
|
BIN
man/aps.8.gz
BIN
man/aps.8.gz
Binary file not shown.
9
settings
Normal file
9
settings
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
UnlockClient=true
|
||||||
|
UnlockStudio=false
|
||||||
|
FPSCapValues=[30.000000, 60.000000, 75.000000, 120.000000, 144.000000, 165.000000, 240.000000, 360.000000]
|
||||||
|
FPSCapSelection=0
|
||||||
|
FPSCap=0.000000
|
||||||
|
CheckForUpdates=true
|
||||||
|
NonBlockingErrors=true
|
||||||
|
SilentErrors=false
|
||||||
|
QuickStart=false
|
Loading…
Reference in a new issue