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
Vladislav
eepm
Commits
c1ba83a7
Commit
c1ba83a7
authored
Apr 02, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm prescription: fix i586-fix/i586-remove
parent
96186529
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
i586-fix.sh
prescription.d/i586-fix.sh
+3
-2
i586-remove.sh
prescription.d/i586-remove.sh
+4
-4
No files found.
prescription.d/i586-fix.sh
View file @
c1ba83a7
...
...
@@ -2,7 +2,8 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Fix missed 32 bit package modules on 64 bit system"
&&
exit
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
vendor
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$vendor
"
=
"alt"
]
||
{
echo
"Only ALT distros is supported for now"
;
exit
1
;
}
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
LIST
=
''
...
...
@@ -21,4 +22,4 @@ done
echo
echo
"Installing all appropiate i586-* packages ..."
epm
i
$LIST
epm
install
$LIST
prescription.d/i586-remove.sh
View file @
c1ba83a7
...
...
@@ -4,14 +4,14 @@
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
case
"
$(
$DISTRVENDOR
-
d
)
"
in
"ALTLinux"
|
"ALTServer"
)
case
"
$(
$DISTRVENDOR
-
s
)
"
in
alt
)
epm
--verbose
--simulate
remove
$(
epmqp
"^i586-"
)
;;
"Ubuntu"
|
"Debian"
)
ubuntu|debian
)
epm
--verbose
--simulate
remove
$(
epmqp
"^i386-"
)
;;
*
)
fatal
"unsupported vendor"
fatal
"unsupported vendor
$(
$DISTRVENDOR
-s
)
"
;;
esac
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