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
Nurlan
eepm
Commits
236e3dce
Commit
236e3dce
authored
Jul 24, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkpkg: add msi checking
parent
0e51e328
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
epm-checkpkg
bin/epm-checkpkg
+8
-2
epm-sh-functions
bin/epm-sh-functions
+4
-0
No files found.
bin/epm-checkpkg
View file @
236e3dce
#!/bin/sh
#
# Copyright (C) 2009, 2012, 2013 Etersoft
# Copyright (C) 2009, 2012, 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2009, 2012, 2013
, 2014
Etersoft
# Copyright (C) 2009, 2012, 2013
, 2014
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -35,6 +35,12 @@ check_pkg_integrity()
exe
)
file
$PKG
|
grep
-q
"executable for MS Windows"
;;
msi
)
# TODO: add to patool via cabextract
assure_exists cabextract
#file $PKG | grep -q "Microsoft Office Document"
cabextract
-t
$PKG
;;
ebuild
)
true
;;
...
...
bin/epm-sh-functions
View file @
236e3dce
...
...
@@ -324,6 +324,10 @@ get_package_type()
echo
"exe"
return
;;
*
.msi
)
echo
"msi"
return
;;
*
)
#fatal "Don't know type of $1"
# return package name for info
...
...
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