Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos.package
Commits
4c0436fa
Commit
4c0436fa
authored
Feb 08, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't remove /opt/slapos at upgrade.
This dir contains data.
parent
fcaf6aa8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
templates/debian/prerm
templates/debian/prerm
+3
-2
No files found.
templates/debian/prerm
View file @
4c0436fa
...
...
@@ -4,10 +4,11 @@ set -e
.
/usr/share/debconf/confmodule
case
"
$1
"
in
# Delete completely /opt/slapos directory as Python egg directory names
# Delete completely /opt/slapos
/eggs
directory as Python egg directory names
# include their versions (failed-upgrade is just there for old-prerm)
# XXX-Cedric: there are smarter ways to do that
upgrade|failed-upgrade
)
rm
-rf
/opt/slapos
rm
-rf
/opt/slapos
/eggs
;;
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