mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 14:12:04 +08:00
Fix script
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
function getDaysSinceRelease
|
||||
{
|
||||
printf %04d $(( ( $(date -ud +'%s') - $(date -ud '150401' +'%s') )/60/60/24 ))
|
||||
printf %04d $(( ( $(date +'%s') - $(date -ud '150401' +'%s') )/60/60/24 ))
|
||||
}
|
||||
|
||||
DAYSSINCERELEASE=`getDaysSinceRelease`
|
||||
@@ -54,4 +54,4 @@ curl -T xashdroid-armv7-tegra2.apk -u $YADISK_USERNAME:$YADISK_PASSWORD https://
|
||||
curl -T xashdroid-x86.apk -u $YADISK_USERNAME:$YADISK_PASSWORD https://webdav.yandex.ru/XashTestVersions/$YADISKPATH/$(generateFileName_current x86)
|
||||
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user