Merge lp:~shnatsel/elementaryos/ebuild-deborphan into lp:elementaryos/0.1-jupiter

Proposed by Sergey "Shnatsel" Davidoff
Status: Merged
Approved by: Sergey "Shnatsel" Davidoff
Approved revision: 90
Merged at revision: 119
Proposed branch: lp:~shnatsel/elementaryos/ebuild-deborphan
Merge into: lp:elementaryos/0.1-jupiter
Prerequisite: lp:~shnatsel/elementaryos/enchanced-kernel-handling-ebuild
Diff against target: 28 lines (+11/-0)
1 file modified
conf.sh (+11/-0)
To merge this branch: bzr merge lp:~shnatsel/elementaryos/ebuild-deborphan
Reviewer Review Type Date Requested Status
Sergey "Shnatsel" Davidoff (community) Approve
Review via email: mp+56904@code.launchpad.net

Description of the change

Added cleanup of orphaned packages with deborphan

To post a comment you must log in.
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

OK it's time to merge this thing.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'conf.sh'
--- conf.sh 2011-04-08 09:29:22 +0000
+++ conf.sh 2011-04-08 09:29:22 +0000
@@ -211,6 +211,9 @@
211apt-get install -f -y --no-install-recommends --allow-unauthenticated abiword abiword-plugin-grammar bcmwl-kernel-source cups contractor dexter dockmanager docky elementary-theme elementary-icon-theme elementary-wallpapers gdebi gdebi-core gloobus-preview gnumeric indicator-applet-complete indicator-datetime libgl1-mesa-dri-experimental midori nautilus ntp purple postler plymouth-theme-elementary-logo preload telepathy-salut ttf-droid ttf-unifont ttf-dejavu zeitgeist zeitgeist-fts-extension211apt-get install -f -y --no-install-recommends --allow-unauthenticated abiword abiword-plugin-grammar bcmwl-kernel-source cups contractor dexter dockmanager docky elementary-theme elementary-icon-theme elementary-wallpapers gdebi gdebi-core gloobus-preview gnumeric indicator-applet-complete indicator-datetime libgl1-mesa-dri-experimental midori nautilus ntp purple postler plymouth-theme-elementary-logo preload telepathy-salut ttf-droid ttf-unifont ttf-dejavu zeitgeist zeitgeist-fts-extension
212# Should be replaced by a simple 'apt-get install elementary-desktop'212# Should be replaced by a simple 'apt-get install elementary-desktop'
213213
214# Install deborphan - we'll need it later for cleanup
215apt-get install -f -y --no-install-recommends --allow-unauthenticated deborphan
216
214# Compiz217# Compiz
215$setconf int /apps/compiz/general/screen0/options/hsize 2218$setconf int /apps/compiz/general/screen0/options/hsize 2
216$setconf int /apps/compiz/general/screen0/options/vsize 2219$setconf int /apps/compiz/general/screen0/options/vsize 2
@@ -346,6 +349,14 @@
346gzip -dc /initrd.gz | sudo lzma -7 > /initrd.lz349gzip -dc /initrd.gz | sudo lzma -7 > /initrd.lz
347rm /initrd.gz350rm /initrd.gz
348351
352# Remove orphaned packages
353while [ -n "$(deborphan)" ]; do
354 aptitude purge $(deborphan)
355done
356
357# Remove deborphan - we don't need it in the image
358apt-get remove -f -y --purge deborphan
359
349# Clean Up360# Clean Up
350apt-get autoclean -f361apt-get autoclean -f
351apt-get clean -f -y362apt-get clean -f -y

Subscribers

People subscribed via source and target branches