Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
1d934d87
Commit
1d934d87
authored
May 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm update: add fake packages file
parent
4efa0c62
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
epm-check_updated_repo
bin/epm-check_updated_repo
+19
-0
epm-update
bin/epm-update
+3
-0
No files found.
bin/epm-check_updated_repo
View file @
1d934d87
...
@@ -50,6 +50,25 @@ __epm_check_apt_db_days()
...
@@ -50,6 +50,25 @@ __epm_check_apt_db_days()
fi
fi
return
1
return
1
}
}
__epm_touch_apt_pkg
()
{
# apt-dpkg
local
pkg
=
"Packages"
[
"
$BASEDISTRNAME
"
=
"alt"
]
&&
pkg
=
"pkglist"
# ordinal package file have date of latest upstream change, not latest update, so update fake file
sudorun
touch
"/var/lib/apt/lists/eepm-fake_
$pkg
"
}
__epm_touch_pkg
()
{
case
$PMTYPE
in
apt-
*
)
__epm_touch_apt_pkg
;;
esac
}
# check if we need initial update
# check if we need initial update
__is_repo_info_downloaded
()
__is_repo_info_downloaded
()
{
{
...
...
bin/epm-update
View file @
1d934d87
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
# copied from korinf/tools/run-script/scripts/update
# copied from korinf/tools/run-script/scripts/update
load_helper epm-sh-warmup
load_helper epm-sh-warmup
load_helper epm-check_updated_repo
# TODO: restore mirroring
# TODO: restore mirroring
get_latest_version
()
get_latest_version
()
...
@@ -148,6 +149,8 @@ case $PMTYPE in
...
@@ -148,6 +149,8 @@ case $PMTYPE in
;;
;;
esac
esac
__epm_touch_pkg
__save_available_packages
__save_available_packages
return
0
return
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment