Skip to content

Commit

Permalink
back .install 05
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed May 27, 2024
1 parent f236e68 commit e27149b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions pkgbuild/pkgbuild.install
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
#pre_install() {
# do something here
#}

post_install() {
# Replacing the original /etc/skel/.bashrc file with the modified Biglinux file
if [ -f /etc/skel/.dot.bashrc ]; then
if [ -f /etc/skel/.bashrc ]; then
mv -f /etc/skel/.bashrc /etc/skel/.bashrc.bak
fi
mv -f /etc/skel/.dot.bashrc /etc/skel/.bashrc
fi
}

#pre_upgrade() {
# do something here
#}

post_upgrade() {
post_install
}

# pre_remove() {
# do something here
# }

post_remove() {
if [ -f /etc/skel/.bashrc.bak ];then
mv -f /etc/skel/.bashrc.bak /etc/skel/.bashrc
fi
}

0 comments on commit e27149b

Please sign in to comment.