Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    can I disable "docpurge"

    Reply
    phoohb | # 1 | 2010-09-09, 14:06 | Report

    Hi.

    I dont see the point of having a script that removes small textfiles. As the "docpurge" does. Cant see any piont of removing documents.. Question:

    1. Why removing documents, as the docpurge -script does?

    2. How do I disable it, without messing toomuch with the system?

    I have used google, and search function in this forum.. before making this post.. docpurge is just some short script cousing alot of hazzle in bugreports, etc. As I see it. As a comment in its script: (/usr/sbin/docpurge) # Real hackers don't read docs. NOT.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to phoohb For This Useful Post:
    SHARP66

     
    sake | # 2 | 2010-09-09, 14:28 | Report

    Uninstall docpurge:
    Code:
    apt-get remove docpurge

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to sake For This Useful Post:
    SHARP66

     
    phoohb | # 3 | 2010-09-09, 22:22 | Report

    Originally Posted by sake View Post
    Uninstall docpurge:
    Code:
    apt-get remove docpurge
    okay thx, I done that now.

    But now say, if I want all documents installed.

    Then I haveto reinstall package by package.

    (I looking forward to do that.. wrote this little script that will do

    Code:
    #!/bin/sh
    
    # an attempt to reinstall all packages 
    
    COLUMNS=200
    
    #get all installed packages 
    aa=$( dpkg -l | awk '{ print $2 }' )
    
    for bb in $aa
    do 
    clear
     echo "doing something with: $bb"
     apt-get install --reinstall $bb
    done
    
    exit 0
    will take time, and/or who knows. Am I on wrong track?
    (so I wait)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TiagoTiago | # 4 | 2011-04-17, 21:30 | Report

    On top of the files being small many are even symlinked :/

    Edit | Forward | Quote | Quick Reply | Thanks

     
    javispedro | # 5 | 2011-04-17, 21:51 | Report

    Copy the doc folder from a SDK installation.

    Note that many Maemo packages (like some of mine) remove docs either way.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TiagoTiago | # 6 | 2011-04-18, 01:46 | Report

    Why waste battery charge and weardown on the flash memory if it's gonna delete the files anyway? If after the installation is done the goal is to not have any docs installed, why not simply not install any to start with?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to TiagoTiago For This Useful Post:
    SHARP66

     
vBulletin® Version 3.8.8
Normal Logout