Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
f50e3e4e
Unverified
Commit
f50e3e4e
authored
5 years ago
by
osetrovich
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Updated files and folders removal.
parent
81ffdb23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/postrm
+9
-1
9 additions, 1 deletion
debian/postrm
with
9 additions
and
1 deletion
debian/postrm
+
9
−
1
View file @
f50e3e4e
...
@@ -3,5 +3,13 @@ if [ "$1" == "purge" ] && [ -e /usr/share/debconf/confmodule ] ; then
...
@@ -3,5 +3,13 @@ if [ "$1" == "purge" ] && [ -e /usr/share/debconf/confmodule ] ; then
.
/usr/share/debconf/confmodule
.
/usr/share/debconf/confmodule
db_purge
db_purge
fi
fi
usermod
-G
$(
groups
$(
id
-nu
)
|
sed
's/kelvin//'
)
GROUP_RM
=
"kelvin"
systemctl stop kelvin-node
systemctl disable kelvin-node
for
username
in
(
cat
/etc/passwd |
grep
"/home"
|
cut
-d
':'
-f1
)
;
do
gpasswd
-d
$username
$GROUP_RM
done
rm
-r
/opt/kelvin-node
groupdel kelvin
groupdel kelvin
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment