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
0ee23411
Commit
0ee23411
authored
Nov 08, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel update/remove: add --auto support (non interactive)
parent
1681a3c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
epm-kernel_update
bin/epm-kernel_update
+2
-2
epm-remove_old_kernels
bin/epm-remove_old_kernels
+1
-1
No files found.
bin/epm-kernel_update
View file @
0ee23411
...
@@ -35,8 +35,8 @@ epm_kernel_update()
...
@@ -35,8 +35,8 @@ epm_kernel_update()
fi
fi
assure_exists update-kernel update-kernel 0.9.9
assure_exists update-kernel update-kernel 0.9.9
update_repo_if_needed
update_repo_if_needed
sudocmd update-kernel
$pkg_filenames
||
return
sudocmd update-kernel
$
(
subst_option non_interactive
-y
)
$
pkg_filenames
||
return
docmd epm remove-old-kernels
$pkg_filenames
||
fatal
docmd epm remove-old-kernels
$
(
subst_option non_interactive
-y
)
$
pkg_filenames
||
fatal
return
;;
return
;;
esac
esac
...
...
bin/epm-remove_old_kernels
View file @
0ee23411
...
@@ -32,7 +32,7 @@ epm_remove_old_kernels()
...
@@ -32,7 +32,7 @@ epm_remove_old_kernels()
return
return
fi
fi
assure_exists update-kernel update-kernel 0.9.9
assure_exists update-kernel update-kernel 0.9.9
sudocmd remove-old-kernels
$pkg_filenames
sudocmd remove-old-kernels
$
(
subst_option non_interactive
-y
)
$
pkg_filenames
return
;;
return
;;
Ubuntu
)
Ubuntu
)
load_helper epm-query_package
load_helper epm-query_package
...
...
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