missing redirect in python3.3-minimal.postinst

Bug #1201014 reported by Florian Diesch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.3 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

python3.3-minimal.postinst contains the following code

if [ ! -f /etc/python3.3/sitecustomize.py ]; then
    cat <<-EOF
        # Empty sitecustomize.py to avoid a dangling symlink
EOF
fi

I guess this should actually be

if [ ! -f /etc/python3.3/sitecustomize.py ]; then
    cat <<-EOF>/etc/python3.3/sitecustomize.py
        # Empty sitecustomize.py to avoid a dangling symlink
EOF
fi

so that an empty /etc/python3.3/sitecustomize.py is created if it doesn't exist.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python3.3 3.3.1-1ubuntu5
ProcVersionSignature: Ubuntu 3.8.0-21.32-generic 3.8.8
Uname: Linux 3.8.0-21-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Sun Jul 14 01:10:22 2013
InstallationDate: Installed on 2013-04-25 (79 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: python3.3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Florian Diesch (diesch) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

yes, fixed in another way in saucy. will remove this code later

Changed in python3.3 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.