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
d4256403
Commit
d4256403
authored
Dec 27, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkpkg: print checking details, add 7z and rar support
parent
ff094632
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
epm-checkpkg
bin/epm-checkpkg
+16
-6
No files found.
bin/epm-checkpkg
View file @
d4256403
...
...
@@ -19,18 +19,18 @@
check_rpm_integrity
()
{
a
=
rpm
--checksig
$@
>
/dev/null
docmd rpm
--checksig
$@
}
check_deb_integrity
()
{
# FIXME: debsums -ca package ?
a
=
dpkg
--contents
$@
>
/dev/null
docmd dpkg
--contents
$@
}
check_bz2_integrity
()
{
a
=
bunzip
-t
$1
>
/dev/null
docmd bunzip
-t
$1
}
check_tbz_integrity
()
...
...
@@ -40,7 +40,7 @@ check_tbz_integrity()
check_gz_integrity
()
{
a
=
gunzip
-t
$1
>
/dev/null
docmd
gunzip
-t
$1
}
check_tgz_integrity
()
...
...
@@ -50,12 +50,22 @@ check_tgz_integrity()
check_zip_integrity
()
{
a
=
unzip
-t
$1
>
/dev/null
docmd unzip
-t
$@
}
check_rar_integrity
()
{
docmd unrar t
$@
}
check_xz_integrity
()
{
a
=
xz
-t
$1
>
/dev/null
docmd xz
-t
$1
}
check_7z_integrity
()
{
docmd 7z t
$1
}
check_exe_integrity
()
...
...
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