mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-14 09:32:20 +08:00
fix: Can not trigger aptss download when firstly installed
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
90ed903197
commit
b153edf8dc
@ -123,6 +123,7 @@ if [ ! -f "$1" ]; then
|
||||
PACKAGE_NAME=$(echo "$FILENAME" | sed -r 's/^([^_]+)_.*$/\1/')
|
||||
VERSION=$(echo "$FILENAME" | sed -r 's/^[^_]+_([^_]+)_.*$/\1/')
|
||||
pushd ${FILEPATH}
|
||||
aptss ssupdate
|
||||
aptss download ${PACKAGE_NAME}=${VERSION}
|
||||
popd
|
||||
if [ ! -f "$1" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user