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
20ea6087
Commit
20ea6087
authored
Feb 26, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-sh-altlinux-contents-index: fix update content index
parent
451a81ce
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
epm-search_file
bin/epm-search_file
+1
-1
epm-sh-altlinux-contents-index
bin/epm-sh-altlinux-contents-index
+5
-2
No files found.
bin/epm-search_file
View file @
20ea6087
...
...
@@ -36,7 +36,7 @@ __alt_local_content_search()
update_repo_if_needed
if
[
!
-s
"
$ALT_CONTENTS_INDEX_LIST
"
]
;
then
fatal
"
Have no local contents index. Check epm repo --help
."
fatal
"
There was some error in contents index retrieving. Try run 'epm update' again
."
fi
local
CI
=
"
$(
cat
$ALT_CONTENTS_INDEX_LIST
)
"
...
...
bin/epm-sh-altlinux-contents-index
View file @
20ea6087
...
...
@@ -59,10 +59,13 @@ rsync_alt_contents_index()
__rsync_check
"
$URL
"
||
return
mkdir
-p
"
$(
dirname
"
$TD
"
)
"
[
-n
"
$USER
"
]
&&
sudorun
chown
-R
$USER
"
$TD
"
if
[
-z
"
$quiet
"
]
;
then
docmd rsync
--partial
--inplace
$3
-a
--progress
"
$URL
"
"
$TD
"
docmd rsync
--partial
--inplace
$3
-a
"
$URL
"
"
$TD
"
else
a
=
rsync
--partial
--inplace
$3
-a
--progress
"
$URL
"
"
$TD
"
>
/dev/null
a
=
rsync
--partial
--inplace
$3
-a
"
$URL
"
"
$TD
"
fi
res
=
$?
[
-f
"
$TD
"
]
&&
sudorun
chmod
a+rw
"
$TD
"
...
...
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